[rtems-crossrpms commit] Use *.bz2 on CentOS 5
Ralf Corsepius
ralf at rtems.org
Thu Apr 19 13:10:36 UTC 2012
Module: rtems-crossrpms
Branch: master
Commit: 300250d655f1c16f60ba984fd5302357f23413c4
Changeset: http://git.rtems.org/rtems-crossrpms/commit/?id=300250d655f1c16f60ba984fd5302357f23413c4
Author: Ralf Corsépius <ralf.corsepius at rtems.org>
Date: Thu Apr 19 12:25:54 2012 +0200
Use *.bz2 on CentOS 5
---
rtems4.11/powerpc/gcc-sources.add | 2 +-
.../powerpc/rtems-4.11-powerpc-rtems4.11-gcc.spec | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/rtems4.11/powerpc/gcc-sources.add b/rtems4.11/powerpc/gcc-sources.add
index 793cb13..6e5d693 100644
--- a/rtems4.11/powerpc/gcc-sources.add
+++ b/rtems4.11/powerpc/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-20120403.diff
%endif
%if "%{gcc_version}" == "4.6.3"
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 b4d1f44..bb86bb0 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
@@ -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-20120403.diff
%endif
%if "%{gcc_version}" == "4.6.3"
More information about the vc
mailing list