# HG changeset patch # User Michael Schloh von Bennewitz # Date 1301942052 -7200 # Node ID c9103fdfdf0debd9574ff192fc446f18062a99ad # Parent 1153ac6bac7e1e6ed15401167a9f6c25c6960ee7 Clean duplicate fortran binary leaving only canonical gfortran(1). diff -r 1153ac6bac7e -r c9103fdfdf0d gcc/gcc.spec --- a/gcc/gcc.spec Sun Apr 03 15:43:53 2011 +0200 +++ b/gcc/gcc.spec Mon Apr 04 20:34:12 2011 +0200 @@ -36,7 +36,7 @@ Group: Compiler License: GPL Version: %{V_full} -Release: 20110332 +Release: 20110400 # package options %option with_binutils yes @@ -430,6 +430,9 @@ %if "%{with_java}" == "yes" rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/*-gcj >/dev/null 2>&1 || true %endif +%if "%{with_fortran}" == "yes" + rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/*-gfortran >/dev/null 2>&1 || true +%endif strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true for prog in cc1 cc1plus collect2 cpp; do strip $RPM_BUILD_ROOT%{l_prefix}/lib/gcc%{V_comp}/${triple}/[0-9]*/${prog} \