summaryrefslogtreecommitdiff
path: root/contrib/crossrpms/gcc/gccnewlib.add
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/crossrpms/gcc/gccnewlib.add')
-rw-r--r--contrib/crossrpms/gcc/gccnewlib.add22
1 files changed, 8 insertions, 14 deletions
diff --git a/contrib/crossrpms/gcc/gccnewlib.add b/contrib/crossrpms/gcc/gccnewlib.add
index 0e636cd821..abd52026cb 100644
--- a/contrib/crossrpms/gcc/gccnewlib.add
+++ b/contrib/crossrpms/gcc/gccnewlib.add
@@ -62,12 +62,6 @@ BuildRequires: %{_host_rpmprefix}gcc
%global gmp_provided 4.3.1
%endif
-%if 0%{?fc13}
-%global mpc_provided 0.8.1
-%global mpfr_provided 2.4.2
-%global gmp_provided 4.3.1
-%endif
-
%if 0%{?el6}
%global mpc_provided %{nil}
%global mpfr_provided 2.4.1
@@ -80,6 +74,12 @@ BuildRequires: %{_host_rpmprefix}gcc
%global gmp_provided 4.1.4
%endif
+%if 0%{?suse12_1}
+%global mpc_provided 0.8.2
+%global mpfr_provided 3.0.1
+%global gmp_provided 5.0.2
+%endif
+
%if 0%{?suse11_3}
%global mpc_provided 0.8.1
%global mpfr_provided 2.4.2
@@ -168,7 +168,6 @@ BuildRequires: %{_host_rpmprefix}libelf-devel >= %{libelf_required}
%if %{defined cloog_required}
-%{?fc13:BuildRequires: cloog-ppl-devel >= %cloog_required}
%{?fc14:BuildRequires: cloog-ppl-devel >= %cloog_required}
%{?fc15:BuildRequires: cloog-ppl-devel >= %cloog_required}
%{?fc16:BuildRequires: cloog-ppl-devel >= %cloog_required}
@@ -193,14 +192,9 @@ BuildRequires: %{_host_rpmprefix}mpfr-devel >= %{mpfr_required}
BuildRequires: @rpmprefix@@tool_target@-gcc = %{gcc_rpmvers}
%endif
-%if "%{gcc_version}" >= "4.2.0"
+# Not strictly required, but patches may introduce a need to use them.
+# For reasons of simplicity, always require them.
BuildRequires: flex bison
-%endif
-
-%if %build_gcj
-# Building gcj requires bison and zlib
-BuildRequires: bison
-%endif
BuildRequires: texinfo >= 4.2
BuildRequires: @rpmprefix@@tool_target@-binutils