[rtems-crossrpms commit] Use *.bz2 on CentOS 5
Ralf Corsepius
ralf at rtems.org
Thu Apr 19 13:10:35 UTC 2012
Module: rtems-crossrpms
Branch: master
Commit: 896b581a6d92b90c171abf90fbf1dc53700e0c77
Changeset: http://git.rtems.org/rtems-crossrpms/commit/?id=896b581a6d92b90c171abf90fbf1dc53700e0c77
Author: Ralf Corsépius <ralf.corsepius at rtems.org>
Date: Thu Apr 19 05:23:06 2012 -0500
Use *.bz2 on CentOS 5
---
rtems4.11/microblaze/gcc-sources.add | 2 +-
.../rtems-4.11-microblaze-rtems4.11-gcc.spec | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/rtems4.11/microblaze/gcc-sources.add b/rtems4.11/microblaze/gcc-sources.add
index d440cb8..9fe1be5 100644
--- a/rtems4.11/microblaze/gcc-sources.add
+++ b/rtems4.11/microblaze/gcc-sources.add
@@ -1,6 +1,6 @@
%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.xz
+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
%endif
%if "%{gcc_version}" == "4.6.3"
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 e02e934..e231e11 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
@@ -266,7 +266,7 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
%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.xz
+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
%endif
%if "%{gcc_version}" == "4.6.3"
More information about the vc
mailing list