[rtems-crossrpms commit] Conditionally bundle mpfr-3.1.2, mpc-1.0.1, gmp-5. 1.2

Ralf Corsepius ralf at rtems.org
Sun Dec 8 18:18:00 UTC 2013


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

Author:    Ralf Corsépius <ralf.corsepius at rtems.org>
Date:      Sun Nov  3 22:51:12 2013 +0100

Conditionally bundle mpfr-3.1.2, mpc-1.0.1, gmp-5.1.2

---

 gcc/gccnewlib.add |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/gcc/gccnewlib.add b/gcc/gccnewlib.add
index 495d789..2972223 100644
--- a/gcc/gccnewlib.add
+++ b/gcc/gccnewlib.add
@@ -48,9 +48,9 @@ BuildRequires:  %{_host_rpmprefix}gcc-c++
 %bcond_without iconv
 
 # versions of libraries, we conditionally bundle if necessary
-%global mpc_version	0.8.1
-%global mpfr_version	2.4.2
-%global gmp_version	4.3.2
+%global mpc_version	1.0.1
+%global mpfr_version	3.1.2
+%global gmp_version	5.1.2
 %global libelf_version  0.8.13
 
 # versions of libraries these distros are known to ship
@@ -242,7 +242,7 @@ BuildRequires:	@rpmprefix@@tool_target at -newlib < %{newlib_version}- at NEWLIB_RPMRE
 @SOURCES@
 
 %if 0%{?_build_mpfr}
-Source60:    http://www.mpfr.org/mpfr-%{mpfr_version}/mpfr-%{mpfr_version}.tar.bz2
+Source60:    http://www.mpfr.org/mpfr-%{mpfr_version}/mpfr-%{mpfr_version}.tar.%{?el5:bz2}%{!?el5:xz}
 %endif
 
 %if 0%{?_build_mpc}
@@ -250,7 +250,7 @@ Source61:    http://www.multiprecision.org/mpc/download/mpc-%{mpc_version}.tar.g
 %endif
 
 %if 0%{?_build_gmp}
-Source62:    ftp://ftp.gnu.org/gnu/gmp/gmp-%{gmp_version}.tar.bz2
+Source62:    ftp://ftp.gnu.org/gnu/gmp/gmp-%{gmp_version}.tar.%{?el5:bz2}%{!?el5:xz}
 %endif
 
 %if 0%{?_build_libelf}




More information about the vc mailing list