Clean duplicate fortran binary leaving only canonical gfortran(1).

Mon, 04 Apr 2011 20:34:12 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Mon, 04 Apr 2011 20:34:12 +0200
changeset 339
c9103fdfdf0d
parent 338
1153ac6bac7e
child 340
870131689a5c

Clean duplicate fortran binary leaving only canonical gfortran(1).

gcc/gcc.spec file | annotate | diff | comparison | revisions
     1.1 --- a/gcc/gcc.spec	Sun Apr 03 15:43:53 2011 +0200
     1.2 +++ b/gcc/gcc.spec	Mon Apr 04 20:34:12 2011 +0200
     1.3 @@ -36,7 +36,7 @@
     1.4  Group:        Compiler
     1.5  License:      GPL
     1.6  Version:      %{V_full}
     1.7 -Release:      20110332
     1.8 +Release:      20110400
     1.9  
    1.10  #   package options
    1.11  %option       with_binutils  yes
    1.12 @@ -430,6 +430,9 @@
    1.13  %if "%{with_java}" == "yes"
    1.14      rm -f  $RPM_BUILD_ROOT%{l_prefix}/bin/*-gcj  >/dev/null 2>&1 || true
    1.15  %endif
    1.16 +%if "%{with_fortran}" == "yes"
    1.17 +    rm -f  $RPM_BUILD_ROOT%{l_prefix}/bin/*-gfortran >/dev/null 2>&1 || true
    1.18 +%endif
    1.19      strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
    1.20      for prog in cc1 cc1plus collect2 cpp; do
    1.21          strip $RPM_BUILD_ROOT%{l_prefix}/lib/gcc%{V_comp}/${triple}/[0-9]*/${prog} \

mercurial