This commit is contained in:
Ralf Corsepius
2010-03-17 07:08:28 +00:00
parent e2b68fc17c
commit 33bc0808f7
2 changed files with 20 additions and 9 deletions

View File

@@ -16,8 +16,8 @@ BINUTILS_RPMREL = 0.20100305.1
include ../binutils.am
BINUTILS_OPTS +=
GCC_VERS = 4.4.2
GCC_VERS = 4.4.3
GCC_PKGVERS = $(GCC_VERS)
GCC_RPMREL = 0.20091130.1
GCC_RPMREL = 0.20100317.1
include ../gcc.am
GCC_OPTS += --languages=c,cxx,fortran,objc

View File

@@ -31,9 +31,9 @@
%endif
%define gcc_pkgvers 4.4.2
%define gcc_version 4.4.2
%define gcc_rpmvers %{expand:%(echo "4.4.2" | tr - _ )}
%define gcc_pkgvers 4.4.3
%define gcc_version 4.4.3
%define gcc_rpmvers %{expand:%(echo "4.4.3" | tr - _ )}
Name: sparc-sun-solaris2.7-gcc
@@ -41,7 +41,7 @@ Summary: sparc-sun-solaris2.7 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
Release: 0.20091130.1%{?dist}
Release: 0.20100317.1%{?dist}
License: GPL
URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -65,6 +65,17 @@ BuildRequires: %{_host_rpmprefix}gmp-devel >= %{_gmp_minvers}
%endif
%endif
%if "%{gcc_version}" >= "4.3.3"
%define _cloog_minvers 0.15
%endif
%if %{defined _cloog_minvers}
%{?fc11:BuildRequires: cloog-ppl-devel >= %_cloog_minvers}
%{?fc12:BuildRequires: cloog-ppl-devel >= %_cloog_minvers}
%{?fc13:BuildRequires: cloog-ppl-devel >= %_cloog_minvers}
%{?suse11_2:BuildRequires: cloog-devel >= %_cloog_minvers, ppl-devel}
%{?suse11_1:BuildRequires: cloog-devel >= %_cloog_minvers, ppl-devel}
%endif
%if "%{gcc_version}" >= "4.4.0"
%define _mpfr_minvers 2.3.2
@@ -83,9 +94,9 @@ BuildRequires: %{_host_rpmprefix}gmp-devel >= %{_gmp_minvers}
%if %{defined _mpfr_minvers}
# FIXME: This is an ugly cludge
%{?fc10:%global mpfr_provided 2.3.2}
%{?fc11:%global mpfr_provided 2.4.1}
%{?fc12:%global mpfr_provided 2.4.1}
%{?fc13:%global mpfr_provided 2.4.1}
%{?suse11_0:%global mpfr_provided 2.3.1}
%{?suse11_1:%global mpfr_provided 2.3.2}
%{?suse11_2:%global mpfr_provided 2.4.1}
@@ -499,7 +510,7 @@ Version: %{gcc_rpmvers}
License: GPL
%description -n sparc-sun-solaris2.7-gcc-libstdc++
%{_summary}
%{summary}
%files -n sparc-sun-solaris2.7-gcc-c++
@@ -561,7 +572,7 @@ Version: %{gcc_rpmvers}
License: GPL
%description -n sparc-sun-solaris2.7-gcc-libgfortran
%{_summary}
%{summary}
%files -n sparc-sun-solaris2.7-gcc-libgfortran -f build/files.gfortran
%defattr(-,root,root)