[rtems-crossrpms commit] Regenerate.

Ralf Corsepius ralf at rtems.org
Fri Jun 15 03:40:52 UTC 2012


Module:    rtems-crossrpms
Branch:    master
Commit:    766cf06ddf0552119f31fc698b569c0eaa9e749b
Changeset: http://git.rtems.org/rtems-crossrpms/commit/?id=766cf06ddf0552119f31fc698b569c0eaa9e749b

Author:    Ralf Corsépius <ralf.corsepius at rtems.org>
Date:      Mon Jun 11 16:08:01 2012 +0200

Regenerate.

---

 aclocal.m4                                         |    4 +-
 configure                                          |  178 ++++++++++----------
 .../arm/rtems-4.11-arm-rtemseabi4.11-gcc.spec      |   10 +-
 rtems4.11/avr/rtems-4.11-avr-rtems4.11-gcc.spec    |   10 +-
 rtems4.11/bfin/rtems-4.11-bfin-rtems4.11-gcc.spec  |   10 +-
 .../h8300/rtems-4.11-h8300-rtems4.11-gcc.spec      |   10 +-
 rtems4.11/i386/rtems-4.11-i386-rtems4.11-gcc.spec  |   10 +-
 rtems4.11/lm32/rtems-4.11-lm32-rtems4.11-gcc.spec  |   10 +-
 rtems4.11/m32c/rtems-4.11-m32c-rtems4.11-gcc.spec  |   10 +-
 rtems4.11/m32r/rtems-4.11-m32r-rtems4.11-gcc.spec  |   10 +-
 rtems4.11/m68k/rtems-4.11-m68k-rtems4.11-gcc.spec  |    7 +-
 .../rtems-4.11-microblaze-rtems4.11-gcc.spec       |    7 +-
 rtems4.11/mips/rtems-4.11-mips-rtems4.11-gcc.spec  |   10 +-
 .../powerpc/rtems-4.11-powerpc-rtems4.11-gcc.spec  |    7 +-
 rtems4.11/sh/rtems-4.11-sh-rtems4.11-gcc.spec      |   10 +-
 .../sparc/rtems-4.11-sparc-rtems4.11-gcc.spec      |   10 +-
 .../sparc64/rtems-4.11-sparc64-rtems4.11-gcc.spec  |   10 +-
 17 files changed, 208 insertions(+), 115 deletions(-)

diff --git a/aclocal.m4 b/aclocal.m4
index 1b97c2a..81c4084 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -14,8 +14,8 @@
 
 m4_ifndef([AC_AUTOCONF_VERSION],
   [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
-m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],,
-[m4_warning([this file was generated for autoconf 2.68.
+m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
+[m4_warning([this file was generated for autoconf 2.69.
 You have another version of autoconf.  It may work, but is not guaranteed to.
 If you have problems, you may need to regenerate the build system entirely.
 To do so, use the procedure documented by the package, typically `autoreconf'.])])
diff --git a/configure b/configure
index 80bf20c..dbddb30 100755
--- a/configure
+++ b/configure
@@ -1,13 +1,11 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.68 for crossrpms 0.20120303.0.
+# Generated by GNU Autoconf 2.69 for crossrpms 0.20120303.0.
 #
 # Report bugs to <http://www.rtems.org/bugzilla>.
 #
 #
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
-# Foundation, Inc.
+# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
 #
 #
 # This configure script is free software; the Free Software Foundation
@@ -136,6 +134,31 @@ export LANGUAGE
 # CDPATH.
 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
+# Use a proper internal environment variable to ensure we don't fall
+  # into an infinite loop, continuously re-executing ourselves.
+  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
+    _as_can_reexec=no; export _as_can_reexec;
+    # We cannot yet assume a decent shell, so we have to provide a
+# neutralization value for shells without unset; and this also
+# works around shells that cannot unset nonexistent variables.
+# Preserve -v and -x to the replacement shell.
+BASH_ENV=/dev/null
+ENV=/dev/null
+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
+case $- in # ((((
+  *v*x* | *x*v* ) as_opts=-vx ;;
+  *v* ) as_opts=-v ;;
+  *x* ) as_opts=-x ;;
+  * ) as_opts= ;;
+esac
+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
+# Admittedly, this is quite paranoid, since all the known shells bail
+# out after a failed `exec'.
+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
+as_fn_exit 255
+  fi
+  # We don't want this to propagate to other subprocesses.
+          { _as_can_reexec=; unset _as_can_reexec;}
 if test "x$CONFIG_SHELL" = x; then
   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
   emulate sh
@@ -169,7 +192,8 @@ if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 else
   exitcode=1; echo positional parameters were not saved.
 fi
-test x\$exitcode = x0 || exit 1"
+test x\$exitcode = x0 || exit 1
+test -x / || exit 1"
   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
@@ -213,21 +237,25 @@ IFS=$as_save_IFS
 
 
       if test "x$CONFIG_SHELL" != x; then :
-  # We cannot yet assume a decent shell, so we have to provide a
-	# neutralization value for shells without unset; and this also
-	# works around shells that cannot unset nonexistent variables.
-	# Preserve -v and -x to the replacement shell.
-	BASH_ENV=/dev/null
-	ENV=/dev/null
-	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
-	export CONFIG_SHELL
-	case $- in # ((((
-	  *v*x* | *x*v* ) as_opts=-vx ;;
-	  *v* ) as_opts=-v ;;
-	  *x* ) as_opts=-x ;;
-	  * ) as_opts= ;;
-	esac
-	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
+  export CONFIG_SHELL
+             # We cannot yet assume a decent shell, so we have to provide a
+# neutralization value for shells without unset; and this also
+# works around shells that cannot unset nonexistent variables.
+# Preserve -v and -x to the replacement shell.
+BASH_ENV=/dev/null
+ENV=/dev/null
+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
+case $- in # ((((
+  *v*x* | *x*v* ) as_opts=-vx ;;
+  *v* ) as_opts=-v ;;
+  *x* ) as_opts=-x ;;
+  * ) as_opts= ;;
+esac
+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
+# Admittedly, this is quite paranoid, since all the known shells bail
+# out after a failed `exec'.
+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
+exit 255
 fi
 
     if test x$as_have_required = xno; then :
@@ -330,6 +358,14 @@ $as_echo X"$as_dir" |
 
 
 } # as_fn_mkdir_p
+
+# as_fn_executable_p FILE
+# -----------------------
+# Test if FILE is an executable regular file.
+as_fn_executable_p ()
+{
+  test -f "$1" && test -x "$1"
+} # as_fn_executable_p
 # as_fn_append VAR VALUE
 # ----------------------
 # Append the text in VALUE to the end of the definition contained in VAR. Take
@@ -451,6 +487,10 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits
   chmod +x "$as_me.lineno" ||
     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
 
+  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
+  # already done that, so ensure we don't try to do so again and fall
+  # in an infinite loop.  This has already happened in practice.
+  _as_can_reexec=no; export _as_can_reexec
   # Don't try to exec as it changes $[0], causing all sort of problems
   # (the dirname of $[0] is not the place where we might find the
   # original and so on.  Autoconf is especially sensitive to this).
@@ -485,16 +525,16 @@ if (echo >conf$$.file) 2>/dev/null; then
     # ... but there are two gotchas:
     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
-    # In both cases, we have to default to `cp -p'.
+    # In both cases, we have to default to `cp -pR'.
     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
-      as_ln_s='cp -p'
+      as_ln_s='cp -pR'
   elif ln conf$$.file conf$$ 2>/dev/null; then
     as_ln_s=ln
   else
-    as_ln_s='cp -p'
+    as_ln_s='cp -pR'
   fi
 else
-  as_ln_s='cp -p'
+  as_ln_s='cp -pR'
 fi
 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 rmdir conf$$.dir 2>/dev/null
@@ -506,28 +546,8 @@ else
   as_mkdir_p=false
 fi
 
-if test -x / >/dev/null 2>&1; then
-  as_test_x='test -x'
-else
-  if ls -dL / >/dev/null 2>&1; then
-    as_ls_L_option=L
-  else
-    as_ls_L_option=
-  fi
-  as_test_x='
-    eval sh -c '\''
-      if test -d "$1"; then
-	test -d "$1/.";
-      else
-	case $1 in #(
-	-*)set "./$1";;
-	esac;
-	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
-	???[sx]*):;;*)false;;esac;fi
-    '\'' sh
-  '
-fi
-as_executable_p=$as_test_x
+as_test_x='test -x'
+as_executable_p=as_fn_executable_p
 
 # Sed expression to map a string onto a valid CPP name.
 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
@@ -1112,8 +1132,6 @@ target=$target_alias
 if test "x$host_alias" != x; then
   if test "x$build_alias" = x; then
     cross_compiling=maybe
-    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
-    If a cross compiler is detected then cross compile mode will be used" >&2
   elif test "x$build_alias" != "x$host_alias"; then
     cross_compiling=yes
   fi
@@ -1346,9 +1364,9 @@ test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
 crossrpms configure 0.20120303.0
-generated by GNU Autoconf 2.68
+generated by GNU Autoconf 2.69
 
-Copyright (C) 2010 Free Software Foundation, Inc.
+Copyright (C) 2012 Free Software Foundation, Inc.
 This configure script is free software; the Free Software Foundation
 gives unlimited permission to copy, distribute and modify it.
 _ACEOF
@@ -1363,7 +1381,7 @@ This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
 It was created by crossrpms $as_me 0.20120303.0, which was
-generated by GNU Autoconf 2.68.  Invocation command line was
+generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
 
@@ -1854,7 +1872,7 @@ case $as_dir/ in #((
     # by default.
     for ac_prog in ginstall scoinst install; do
       for ac_exec_ext in '' $ac_executable_extensions; do
-	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
+	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 	  if test $ac_prog = install &&
 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 	    # AIX install.  It has an incompatible calling convention.
@@ -2023,7 +2041,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -2063,7 +2081,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_ac_ct_STRIP="strip"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -2114,7 +2132,7 @@ do
   test -z "$as_dir" && as_dir=.
     for ac_prog in mkdir gmkdir; do
 	 for ac_exec_ext in '' $ac_executable_extensions; do
-	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
+	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 	     'mkdir (GNU coreutils) '* | \
 	     'mkdir (coreutils) '* | \
@@ -2167,7 +2185,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_AWK="$ac_prog"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -2966,16 +2984,16 @@ if (echo >conf$$.file) 2>/dev/null; then
     # ... but there are two gotchas:
     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
-    # In both cases, we have to default to `cp -p'.
+    # In both cases, we have to default to `cp -pR'.
     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
-      as_ln_s='cp -p'
+      as_ln_s='cp -pR'
   elif ln conf$$.file conf$$ 2>/dev/null; then
     as_ln_s=ln
   else
-    as_ln_s='cp -p'
+    as_ln_s='cp -pR'
   fi
 else
-  as_ln_s='cp -p'
+  as_ln_s='cp -pR'
 fi
 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 rmdir conf$$.dir 2>/dev/null
@@ -3035,28 +3053,16 @@ else
   as_mkdir_p=false
 fi
 
-if test -x / >/dev/null 2>&1; then
-  as_test_x='test -x'
-else
-  if ls -dL / >/dev/null 2>&1; then
-    as_ls_L_option=L
-  else
-    as_ls_L_option=
-  fi
-  as_test_x='
-    eval sh -c '\''
-      if test -d "$1"; then
-	test -d "$1/.";
-      else
-	case $1 in #(
-	-*)set "./$1";;
-	esac;
-	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
-	???[sx]*):;;*)false;;esac;fi
-    '\'' sh
-  '
-fi
-as_executable_p=$as_test_x
+
+# as_fn_executable_p FILE
+# -----------------------
+# Test if FILE is an executable regular file.
+as_fn_executable_p ()
+{
+  test -f "$1" && test -x "$1"
+} # as_fn_executable_p
+as_test_x='test -x'
+as_executable_p=as_fn_executable_p
 
 # Sed expression to map a string onto a valid CPP name.
 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
@@ -3078,7 +3084,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 # values after options handling.
 ac_log="
 This file was extended by crossrpms $as_me 0.20120303.0, which was
-generated by GNU Autoconf 2.68.  Invocation command line was
+generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
   CONFIG_HEADERS  = $CONFIG_HEADERS
@@ -3131,10 +3137,10 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
 crossrpms config.status 0.20120303.0
-configured by $0, generated by GNU Autoconf 2.68,
+configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
-Copyright (C) 2010 Free Software Foundation, Inc.
+Copyright (C) 2012 Free Software Foundation, Inc.
 This config.status script is free software; the Free Software Foundation
 gives unlimited permission to copy, distribute and modify it."
 
@@ -3214,7 +3220,7 @@ fi
 _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 if \$ac_cs_recheck; then
-  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
+  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   shift
   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   CONFIG_SHELL='$SHELL'
diff --git a/rtems4.11/arm/rtems-4.11-arm-rtemseabi4.11-gcc.spec b/rtems4.11/arm/rtems-4.11-arm-rtemseabi4.11-gcc.spec
index 4c2c781..d4edd0b 100644
--- a/rtems4.11/arm/rtems-4.11-arm-rtemseabi4.11-gcc.spec
+++ b/rtems4.11/arm/rtems-4.11-arm-rtemseabi4.11-gcc.spec
@@ -264,9 +264,15 @@ BuildRequires:  %{_host_rpmprefix}zlib-devel
 
 %global _gcclibdir %{_prefix}/lib
 
+%if "%{gcc_version}" == "4.7.1"
+# Source0:      ftp://gcc.gnu.org/pub/gcc/snapshots/gcc-4.7.1-RC-20120606.tar.bz2
+Source0:        ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.1-RC-20120606.tar.%{?el5:bz2}%{!?el5:xz}
+Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.1-RC-20120606-rtems4.11-20120611.diff
+%endif
 %if "%{gcc_version}" == "4.7.0"
-Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
-Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}-rtems4.11-20120322.diff
+# Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
+Source0:        ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}.tar.%{?el5:bz2}%{!?el5:xz}
+Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.0-rtems4.11-20120322.diff
 %endif
 %if "%{gcc_version}" == "4.6.3"
 Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
diff --git a/rtems4.11/avr/rtems-4.11-avr-rtems4.11-gcc.spec b/rtems4.11/avr/rtems-4.11-avr-rtems4.11-gcc.spec
index 2a4ccc7..c77b548 100644
--- a/rtems4.11/avr/rtems-4.11-avr-rtems4.11-gcc.spec
+++ b/rtems4.11/avr/rtems-4.11-avr-rtems4.11-gcc.spec
@@ -264,9 +264,15 @@ BuildRequires:  %{_host_rpmprefix}zlib-devel
 
 %global _gcclibdir %{_prefix}/lib
 
+%if "%{gcc_version}" == "4.7.1"
+# Source0:      ftp://gcc.gnu.org/pub/gcc/snapshots/gcc-4.7.1-RC-20120606.tar.bz2
+Source0:        ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.1-RC-20120606.tar.%{?el5:bz2}%{!?el5:xz}
+Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.1-RC-20120606-rtems4.11-20120611.diff
+%endif
 %if "%{gcc_version}" == "4.7.0"
-Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
-Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}-rtems4.11-20120322.diff
+# Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
+Source0:        ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}.tar.%{?el5:bz2}%{!?el5:xz}
+Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.0-rtems4.11-20120322.diff
 %endif
 %if "%{gcc_version}" == "4.6.3"
 Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
diff --git a/rtems4.11/bfin/rtems-4.11-bfin-rtems4.11-gcc.spec b/rtems4.11/bfin/rtems-4.11-bfin-rtems4.11-gcc.spec
index bb4b9b1..f647186 100644
--- a/rtems4.11/bfin/rtems-4.11-bfin-rtems4.11-gcc.spec
+++ b/rtems4.11/bfin/rtems-4.11-bfin-rtems4.11-gcc.spec
@@ -264,9 +264,15 @@ BuildRequires:  %{_host_rpmprefix}zlib-devel
 
 %global _gcclibdir %{_prefix}/lib
 
+%if "%{gcc_version}" == "4.7.1"
+# Source0:      ftp://gcc.gnu.org/pub/gcc/snapshots/gcc-4.7.1-RC-20120606.tar.bz2
+Source0:        ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.1-RC-20120606.tar.%{?el5:bz2}%{!?el5:xz}
+Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.1-RC-20120606-rtems4.11-20120611.diff
+%endif
 %if "%{gcc_version}" == "4.7.0"
-Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
-Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}-rtems4.11-20120322.diff
+# Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
+Source0:        ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}.tar.%{?el5:bz2}%{!?el5:xz}
+Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.0-rtems4.11-20120322.diff
 %endif
 %if "%{gcc_version}" == "4.6.3"
 Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
diff --git a/rtems4.11/h8300/rtems-4.11-h8300-rtems4.11-gcc.spec b/rtems4.11/h8300/rtems-4.11-h8300-rtems4.11-gcc.spec
index 178ee44..e916a0b 100644
--- a/rtems4.11/h8300/rtems-4.11-h8300-rtems4.11-gcc.spec
+++ b/rtems4.11/h8300/rtems-4.11-h8300-rtems4.11-gcc.spec
@@ -264,9 +264,15 @@ BuildRequires:  %{_host_rpmprefix}zlib-devel
 
 %global _gcclibdir %{_prefix}/lib
 
+%if "%{gcc_version}" == "4.7.1"
+# Source0:      ftp://gcc.gnu.org/pub/gcc/snapshots/gcc-4.7.1-RC-20120606.tar.bz2
+Source0:        ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.1-RC-20120606.tar.%{?el5:bz2}%{!?el5:xz}
+Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.1-RC-20120606-rtems4.11-20120611.diff
+%endif
 %if "%{gcc_version}" == "4.7.0"
-Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
-Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}-rtems4.11-20120322.diff
+# Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
+Source0:        ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}.tar.%{?el5:bz2}%{!?el5:xz}
+Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.0-rtems4.11-20120322.diff
 %endif
 %if "%{gcc_version}" == "4.6.3"
 Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
diff --git a/rtems4.11/i386/rtems-4.11-i386-rtems4.11-gcc.spec b/rtems4.11/i386/rtems-4.11-i386-rtems4.11-gcc.spec
index 2f21e74..3475379 100644
--- a/rtems4.11/i386/rtems-4.11-i386-rtems4.11-gcc.spec
+++ b/rtems4.11/i386/rtems-4.11-i386-rtems4.11-gcc.spec
@@ -264,9 +264,15 @@ BuildRequires:  %{_host_rpmprefix}zlib-devel
 
 %global _gcclibdir %{_prefix}/lib
 
+%if "%{gcc_version}" == "4.7.1"
+# Source0:      ftp://gcc.gnu.org/pub/gcc/snapshots/gcc-4.7.1-RC-20120606.tar.bz2
+Source0:        ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.1-RC-20120606.tar.%{?el5:bz2}%{!?el5:xz}
+Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.1-RC-20120606-rtems4.11-20120611.diff
+%endif
 %if "%{gcc_version}" == "4.7.0"
-Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
-Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}-rtems4.11-20120322.diff
+# Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
+Source0:        ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}.tar.%{?el5:bz2}%{!?el5:xz}
+Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.0-rtems4.11-20120322.diff
 %endif
 %if "%{gcc_version}" == "4.6.3"
 Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
diff --git a/rtems4.11/lm32/rtems-4.11-lm32-rtems4.11-gcc.spec b/rtems4.11/lm32/rtems-4.11-lm32-rtems4.11-gcc.spec
index ed0c0f2..c8cf4e3 100644
--- a/rtems4.11/lm32/rtems-4.11-lm32-rtems4.11-gcc.spec
+++ b/rtems4.11/lm32/rtems-4.11-lm32-rtems4.11-gcc.spec
@@ -264,9 +264,15 @@ BuildRequires:  %{_host_rpmprefix}zlib-devel
 
 %global _gcclibdir %{_prefix}/lib
 
+%if "%{gcc_version}" == "4.7.1"
+# Source0:      ftp://gcc.gnu.org/pub/gcc/snapshots/gcc-4.7.1-RC-20120606.tar.bz2
+Source0:        ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.1-RC-20120606.tar.%{?el5:bz2}%{!?el5:xz}
+Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.1-RC-20120606-rtems4.11-20120611.diff
+%endif
 %if "%{gcc_version}" == "4.7.0"
-Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
-Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}-rtems4.11-20120322.diff
+# Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
+Source0:        ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}.tar.%{?el5:bz2}%{!?el5:xz}
+Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.0-rtems4.11-20120322.diff
 %endif
 %if "%{gcc_version}" == "4.6.3"
 Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
diff --git a/rtems4.11/m32c/rtems-4.11-m32c-rtems4.11-gcc.spec b/rtems4.11/m32c/rtems-4.11-m32c-rtems4.11-gcc.spec
index 759258e..ccda648 100644
--- a/rtems4.11/m32c/rtems-4.11-m32c-rtems4.11-gcc.spec
+++ b/rtems4.11/m32c/rtems-4.11-m32c-rtems4.11-gcc.spec
@@ -264,9 +264,15 @@ BuildRequires:  %{_host_rpmprefix}zlib-devel
 
 %global _gcclibdir %{_prefix}/lib
 
+%if "%{gcc_version}" == "4.7.1"
+# Source0:      ftp://gcc.gnu.org/pub/gcc/snapshots/gcc-4.7.1-RC-20120606.tar.bz2
+Source0:        ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.1-RC-20120606.tar.%{?el5:bz2}%{!?el5:xz}
+Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.1-RC-20120606-rtems4.11-20120611.diff
+%endif
 %if "%{gcc_version}" == "4.7.0"
-Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
-Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}-rtems4.11-20120322.diff
+# Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
+Source0:        ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}.tar.%{?el5:bz2}%{!?el5:xz}
+Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.0-rtems4.11-20120322.diff
 %endif
 %if "%{gcc_version}" == "4.6.3"
 Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
diff --git a/rtems4.11/m32r/rtems-4.11-m32r-rtems4.11-gcc.spec b/rtems4.11/m32r/rtems-4.11-m32r-rtems4.11-gcc.spec
index 931988b..9cf2fa2 100644
--- a/rtems4.11/m32r/rtems-4.11-m32r-rtems4.11-gcc.spec
+++ b/rtems4.11/m32r/rtems-4.11-m32r-rtems4.11-gcc.spec
@@ -264,9 +264,15 @@ BuildRequires:  %{_host_rpmprefix}zlib-devel
 
 %global _gcclibdir %{_prefix}/lib
 
+%if "%{gcc_version}" == "4.7.1"
+# Source0:      ftp://gcc.gnu.org/pub/gcc/snapshots/gcc-4.7.1-RC-20120606.tar.bz2
+Source0:        ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.1-RC-20120606.tar.%{?el5:bz2}%{!?el5:xz}
+Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.1-RC-20120606-rtems4.11-20120611.diff
+%endif
 %if "%{gcc_version}" == "4.7.0"
-Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
-Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}-rtems4.11-20120322.diff
+# Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
+Source0:        ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}.tar.%{?el5:bz2}%{!?el5:xz}
+Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.0-rtems4.11-20120322.diff
 %endif
 %if "%{gcc_version}" == "4.6.3"
 Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
diff --git a/rtems4.11/m68k/rtems-4.11-m68k-rtems4.11-gcc.spec b/rtems4.11/m68k/rtems-4.11-m68k-rtems4.11-gcc.spec
index fd3947b..29b6d77 100644
--- a/rtems4.11/m68k/rtems-4.11-m68k-rtems4.11-gcc.spec
+++ b/rtems4.11/m68k/rtems-4.11-m68k-rtems4.11-gcc.spec
@@ -264,10 +264,15 @@ BuildRequires:  %{_host_rpmprefix}zlib-devel
 
 %global _gcclibdir %{_prefix}/lib
 
+%if "%{gcc_version}" == "4.7.1"
+# Source0:      ftp://gcc.gnu.org/pub/gcc/snapshots/gcc-4.7.1-RC-20120606.tar.bz2
+Source0:        ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.1-RC-20120606.tar.%{?el5:bz2}%{!?el5:xz}
+Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.1-RC-20120606-rtems4.11-20120611.diff
+%endif
 %if "%{gcc_version}" == "4.7.0"
 # Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
 Source0:        ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}.tar.%{?el5:bz2}%{!?el5:xz}
-Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}-rtems4.11-20120419.diff
+Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.0-rtems4.11-20120419.diff
 %endif
 %if "%{gcc_version}" == "4.6.3"
 Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
diff --git a/rtems4.11/microblaze/rtems-4.11-microblaze-rtems4.11-gcc.spec b/rtems4.11/microblaze/rtems-4.11-microblaze-rtems4.11-gcc.spec
index e231e11..be3ad8f 100644
--- a/rtems4.11/microblaze/rtems-4.11-microblaze-rtems4.11-gcc.spec
+++ b/rtems4.11/microblaze/rtems-4.11-microblaze-rtems4.11-gcc.spec
@@ -264,10 +264,15 @@ BuildRequires:  %{_host_rpmprefix}zlib-devel
 
 %global _gcclibdir %{_prefix}/lib
 
+%if "%{gcc_version}" == "4.7.1"
+# Source0:      ftp://gcc.gnu.org/pub/gcc/snapshots/gcc-4.7.1-RC-20120606.tar.bz2
+Source0:        ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.1-RC-20120606.tar.%{?el5:bz2}%{!?el5:xz}
+Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.1-RC-20120606-rtems4.11-20120611.diff
+%endif
 %if "%{gcc_version}" == "4.7.0"
 # Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
 Source0:        ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}.tar.%{?el5:bz2}%{!?el5:xz}
-Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}-rtems4.11-20120419.diff
+Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.0-rtems4.11-20120419.diff
 %endif
 %if "%{gcc_version}" == "4.6.3"
 Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
diff --git a/rtems4.11/mips/rtems-4.11-mips-rtems4.11-gcc.spec b/rtems4.11/mips/rtems-4.11-mips-rtems4.11-gcc.spec
index 63eb755..dc55853 100644
--- a/rtems4.11/mips/rtems-4.11-mips-rtems4.11-gcc.spec
+++ b/rtems4.11/mips/rtems-4.11-mips-rtems4.11-gcc.spec
@@ -264,9 +264,15 @@ BuildRequires:  %{_host_rpmprefix}zlib-devel
 
 %global _gcclibdir %{_prefix}/lib
 
+%if "%{gcc_version}" == "4.7.1"
+# Source0:      ftp://gcc.gnu.org/pub/gcc/snapshots/gcc-4.7.1-RC-20120606.tar.bz2
+Source0:        ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.1-RC-20120606.tar.%{?el5:bz2}%{!?el5:xz}
+Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.1-RC-20120606-rtems4.11-20120611.diff
+%endif
 %if "%{gcc_version}" == "4.7.0"
-Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
-Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}-rtems4.11-20120322.diff
+# Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
+Source0:        ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}.tar.%{?el5:bz2}%{!?el5:xz}
+Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.0-rtems4.11-20120322.diff
 %endif
 %if "%{gcc_version}" == "4.6.3"
 Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
diff --git a/rtems4.11/powerpc/rtems-4.11-powerpc-rtems4.11-gcc.spec b/rtems4.11/powerpc/rtems-4.11-powerpc-rtems4.11-gcc.spec
index bb86bb0..0b281d0 100644
--- a/rtems4.11/powerpc/rtems-4.11-powerpc-rtems4.11-gcc.spec
+++ b/rtems4.11/powerpc/rtems-4.11-powerpc-rtems4.11-gcc.spec
@@ -264,10 +264,15 @@ BuildRequires:  %{_host_rpmprefix}zlib-devel
 
 %global _gcclibdir %{_prefix}/lib
 
+%if "%{gcc_version}" == "4.7.1"
+# Source0:      ftp://gcc.gnu.org/pub/gcc/snapshots/gcc-4.7.1-RC-20120606.tar.bz2
+Source0:        ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.1-RC-20120606.tar.%{?el5:bz2}%{!?el5:xz}
+Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.1-RC-20120606-rtems4.11-20120611.diff
+%endif
 %if "%{gcc_version}" == "4.7.0"
 # Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
 Source0:        ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}.tar.%{?el5:bz2}%{!?el5:xz}
-Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}-rtems4.11-20120403.diff
+Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.0-rtems4.11-20120403.diff
 %endif
 %if "%{gcc_version}" == "4.6.3"
 Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
diff --git a/rtems4.11/sh/rtems-4.11-sh-rtems4.11-gcc.spec b/rtems4.11/sh/rtems-4.11-sh-rtems4.11-gcc.spec
index 502c156..c299fdd 100644
--- a/rtems4.11/sh/rtems-4.11-sh-rtems4.11-gcc.spec
+++ b/rtems4.11/sh/rtems-4.11-sh-rtems4.11-gcc.spec
@@ -264,9 +264,15 @@ BuildRequires:  %{_host_rpmprefix}zlib-devel
 
 %global _gcclibdir %{_prefix}/lib
 
+%if "%{gcc_version}" == "4.7.1"
+# Source0:      ftp://gcc.gnu.org/pub/gcc/snapshots/gcc-4.7.1-RC-20120606.tar.bz2
+Source0:        ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.1-RC-20120606.tar.%{?el5:bz2}%{!?el5:xz}
+Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.1-RC-20120606-rtems4.11-20120611.diff
+%endif
 %if "%{gcc_version}" == "4.7.0"
-Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
-Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}-rtems4.11-20120322.diff
+# Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
+Source0:        ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}.tar.%{?el5:bz2}%{!?el5:xz}
+Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.0-rtems4.11-20120322.diff
 %endif
 %if "%{gcc_version}" == "4.6.3"
 Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
diff --git a/rtems4.11/sparc/rtems-4.11-sparc-rtems4.11-gcc.spec b/rtems4.11/sparc/rtems-4.11-sparc-rtems4.11-gcc.spec
index 2894cfd..e44ddb1 100644
--- a/rtems4.11/sparc/rtems-4.11-sparc-rtems4.11-gcc.spec
+++ b/rtems4.11/sparc/rtems-4.11-sparc-rtems4.11-gcc.spec
@@ -264,9 +264,15 @@ BuildRequires:  %{_host_rpmprefix}zlib-devel
 
 %global _gcclibdir %{_prefix}/lib
 
+%if "%{gcc_version}" == "4.7.1"
+# Source0:      ftp://gcc.gnu.org/pub/gcc/snapshots/gcc-4.7.1-RC-20120606.tar.bz2
+Source0:        ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.1-RC-20120606.tar.%{?el5:bz2}%{!?el5:xz}
+Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.1-RC-20120606-rtems4.11-20120611.diff
+%endif
 %if "%{gcc_version}" == "4.7.0"
-Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
-Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}-rtems4.11-20120322.diff
+# Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
+Source0:        ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}.tar.%{?el5:bz2}%{!?el5:xz}
+Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.0-rtems4.11-20120322.diff
 %endif
 %if "%{gcc_version}" == "4.6.3"
 Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
diff --git a/rtems4.11/sparc64/rtems-4.11-sparc64-rtems4.11-gcc.spec b/rtems4.11/sparc64/rtems-4.11-sparc64-rtems4.11-gcc.spec
index a5b069c..be504a8 100644
--- a/rtems4.11/sparc64/rtems-4.11-sparc64-rtems4.11-gcc.spec
+++ b/rtems4.11/sparc64/rtems-4.11-sparc64-rtems4.11-gcc.spec
@@ -264,9 +264,15 @@ BuildRequires:  %{_host_rpmprefix}zlib-devel
 
 %global _gcclibdir %{_prefix}/lib
 
+%if "%{gcc_version}" == "4.7.1"
+# Source0:      ftp://gcc.gnu.org/pub/gcc/snapshots/gcc-4.7.1-RC-20120606.tar.bz2
+Source0:        ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.1-RC-20120606.tar.%{?el5:bz2}%{!?el5:xz}
+Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.1-RC-20120606-rtems4.11-20120611.diff
+%endif
 %if "%{gcc_version}" == "4.7.0"
-Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
-Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}-rtems4.11-20120322.diff
+# Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
+Source0:        ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}.tar.%{?el5:bz2}%{!?el5:xz}
+Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.0-rtems4.11-20120322.diff
 %endif
 %if "%{gcc_version}" == "4.6.3"
 Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2




More information about the vc mailing list