diff --git a/gcc/gcc.spec b/gcc/gcc.spec index 13098928b5..7dba4bd401 100644 --- a/gcc/gcc.spec +++ b/gcc/gcc.spec @@ -36,7 +36,7 @@ %define with_optimize yes %endif %ifndef with_binutils -%define with_binutils %(sh %{SOURCE gcc.sh} require-binutils %{l_target}) +%define with_binutils %(if [ -f %{SOURCE gcc.sh} ]; then sh %{SOURCE gcc.sh} require-binutils %{l_target}; else echo "no"; fi) %endif # package information @@ -49,7 +49,7 @@ Distribution: OpenPKG [REL] Group: Language License: GPL Version: %{V_short} -Release: 20020808 +Release: 20020809 # list of sources Source0: ftp://gcc.gnu.org/pub/gcc/releases/gcc-%{V_long}/gcc-%{V_long}.tar.bz2