From e86d0bef02f970e4211c6db0aec2102c6bf1ad5f Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Thu, 18 Mar 2010 07:59:36 +0000 Subject: [PATCH] Add global %global mpc_version, %global mpfr_version, %global gmp_version. --- contrib/crossrpms/gcc/gccnewlib.add | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/contrib/crossrpms/gcc/gccnewlib.add b/contrib/crossrpms/gcc/gccnewlib.add index c1a9366bf9..8874014ae8 100644 --- a/contrib/crossrpms/gcc/gccnewlib.add +++ b/contrib/crossrpms/gcc/gccnewlib.add @@ -24,6 +24,11 @@ BuildRequires: %{_host_rpmprefix}gcc %bcond_with lto +# versions of libraries, we conditionally bundle if necessary +%global mpc_version 0.8.1 +%global mpfr_version 2.4.1 +%global gmp_version 0.4.3 + %if "%{gcc_version}" >= "4.3.0" %define _gmp_minvers 4.1 %else @@ -55,16 +60,13 @@ BuildRequires: %{_host_rpmprefix}gmp-devel >= %{_gmp_minvers} %if "%{gcc_version}" >= "4.4.0" %define _mpfr_minvers 2.3.2 -%define mpfr_version 2.4.1 %else %if "%{gcc_version}" >= "4.3.0" %define _mpfr_minvers 2.3.1 -%define mpfr_version 2.3.2 %else %if "%{gcc_version}" >= "4.2.0" %if %build_fortran %define _mpfr_minvers 2.2.1 -%define mpfr_version 2.3.2 %endif %endif %endif