diff -r 0746a003fc03 -r 323623610492 gcc/gcc.spec --- a/gcc/gcc.spec Sat Aug 04 14:16:14 2012 +0200 +++ b/gcc/gcc.spec Sat Aug 04 22:02:31 2012 +0200 @@ -22,7 +22,7 @@ ## # package version -%define V_full 4.6.3 +%define V_full 4.7.1 %define V_comp %nil # package information @@ -36,7 +36,7 @@ Group: Compiler License: GPL Version: %{V_full} -Release: 20120208 +Release: 20120800 # package options %option with_binutils yes @@ -56,19 +56,12 @@ %endif # list of sources -Source0: ftp://gcc.gnu.org/pub/gcc/releases/gcc-%{V_full}/gcc-core-%{V_full}.tar.bz2 -Source1: ftp://gcc.gnu.org/pub/gcc/releases/gcc-%{V_full}/gcc-g++-%{V_full}.tar.bz2 -Source2: ftp://gcc.gnu.org/pub/gcc/releases/gcc-%{V_full}/gcc-objc-%{V_full}.tar.bz2 -Source3: ftp://gcc.gnu.org/pub/gcc/releases/gcc-%{V_full}/gcc-java-%{V_full}.tar.bz2 -Source4: ftp://gcc.gnu.org/pub/gcc/releases/gcc-%{V_full}/gcc-fortran-%{V_full}.tar.bz2 +Source0: ftp://gcc.gnu.org/pub/gcc/releases/gcc-%{V_full}/gcc-%{V_full}.tar.bz2 Patch0: gcc.patch -Patch1: gcc.patch.spawn # build information -Prefix: %{l_prefix} -BuildRoot: %{l_buildroot} -BuildPreReq: OpenPKG, openpkg >= 20060823, make -PreReq: OpenPKG, openpkg >= 20060823 +BuildPreReq: OpenPKG, openpkg >= 20100101, make +PreReq: OpenPKG, openpkg >= 20100101 BuildPreReq: mpc, mpfr, gmp PreReq: mpc, mpfr, gmp %if "%{with_binutils}" == "yes" @@ -83,8 +76,6 @@ BuildPreReq: zlib, infozip PreReq: zlib %endif -AutoReq: no -AutoReqProv: no %description The GNU Compiler Collection (GCC) provides standard conforming and @@ -97,25 +88,12 @@ url = ftp://gcc.gnu.org/pub/gcc/releases/ regex = gcc-(4\.\d+\.\d+) url = ftp://gcc.gnu.org/pub/gcc/releases/gcc-__NEWVER__/ - regex = gcc-core-(\d+\.\d+\.\d+)\.tar\.bz2 + regex = gcc-(\d+\.\d+\.\d+)\.tar\.bz2 } %prep %setup -q -%if "%{with_cxx}" == "yes" - %setup -q -T -D -b 1 -%endif -%if "%{with_objc}" == "yes" - %setup -q -T -D -b 2 -%endif -%if "%{with_java}" == "yes" - %setup -q -T -D -b 3 -%endif -%if "%{with_fortran}" == "yes" - %setup -q -T -D -b 4 -%endif %patch -p0 - %patch -p0 -P 1 %{l_shtool} subst \ -e 's;\(instname="\$dir/\$name"\)i;\1;' \ ltmain.sh @@ -243,6 +221,7 @@ # platforms failing 'compare' make target (see prep as well) case "%{l_platform -t}" in *i?86-sunos* ) echo "gcc_cv_prog_cmp_skip=true" >>config.cache ;; + *amd64-sunos* ) echo "gcc_cv_prog_cmp_skip=true" >>config.cache ;; *amd64-linux* ) echo "gcc_cv_prog_cmp_skip=true" >>config.cache ;; esac