Blind commit, looks like I discovered ugly conditional binary names.

Fri, 03 Aug 2012 17:18:55 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 03 Aug 2012 17:18:55 +0200
changeset 468
695288b7c41a
parent 467
e2558d4b246c
child 469
65414bdd541c

Blind commit, looks like I discovered ugly conditional binary names.

gcc/gcc.spec file | annotate | diff | comparison | revisions
     1.1 --- a/gcc/gcc.spec	Fri Aug 03 16:56:40 2012 +0200
     1.2 +++ b/gcc/gcc.spec	Fri Aug 03 17:18:55 2012 +0200
     1.3 @@ -447,6 +447,12 @@
     1.4      rm -f  $RPM_BUILD_ROOT%{l_prefix}/bin/*-c++  >/dev/null 2>&1 || true
     1.5      rm -f  $RPM_BUILD_ROOT%{l_prefix}/bin/*-g++  >/dev/null 2>&1 || true
     1.6  %endif
     1.7 +%if "%{with_java}" == "yes"
     1.8 +    rm -f  $RPM_BUILD_ROOT%{l_prefix}/bin/*-gcj  >/dev/null 2>&1 || true
     1.9 +%endif
    1.10 +%if "%{with_fortran}" == "yes"
    1.11 +    rm -f  $RPM_BUILD_ROOT%{l_prefix}/bin/*-gfortran >/dev/null 2>&1 || true
    1.12 +%endif
    1.13      strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
    1.14      for prog in cc1 cc1plus collect2 cpp; do
    1.15          strip $RPM_BUILD_ROOT%{l_prefix}/lib/gcc%{V_comp}/${triple}/[0-9]*/${prog} \

mercurial