diff options
Diffstat (limited to 'contrib/crossrpms/rtems4.10/bfin/rtems-4.10-bfin-rtems4.10-gcc.spec')
-rw-r--r-- | contrib/crossrpms/rtems4.10/bfin/rtems-4.10-bfin-rtems4.10-gcc.spec | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/contrib/crossrpms/rtems4.10/bfin/rtems-4.10-bfin-rtems4.10-gcc.spec b/contrib/crossrpms/rtems4.10/bfin/rtems-4.10-bfin-rtems4.10-gcc.spec index ff9c3eade1..1feab8d546 100644 --- a/contrib/crossrpms/rtems4.10/bfin/rtems-4.10-bfin-rtems4.10-gcc.spec +++ b/contrib/crossrpms/rtems4.10/bfin/rtems-4.10-bfin-rtems4.10-gcc.spec @@ -58,7 +58,7 @@ Summary: bfin-rtems4.10 gcc Group: Development/Tools Version: %{gcc_rpmvers} -Release: 3%{?dist} +Release: 4%{?dist} License: GPL URL: http://gcc.gnu.org BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -96,24 +96,28 @@ BuildRequires: %{_host_rpmprefix}gmp-devel >= %{_gmp_minvers} %endif %if %{defined _mpfr_minvers} -%{?suse10_3:%global mpfr_provided 2.2.1} +# FIXME: This is an ugly cludge %{?fc9:%global mpfr_provided 2.3.1} %{?fc10:%global mpfr_provided 2.3.2} %{?fc11:%global mpfr_provided 2.4.1} +%{?suse10_3:%global mpfr_provided 2.2.1} +%{?cygwin:%global mpfr_provided 2.4.1} +%{?mingw32:%global mpfr_provided %{nil}} %if %{defined mpfr_provided} %if "%{mpfr_provided}" < "%{_mpfr_minvers}" %define _build_mpfr 1 %else +%if "%{_build}" != "%{_host}" +BuildRequires: %{_host_rpmprefix}mpfr-devel >= %{_mpfr_minvers} +%else BuildRequires: mpfr-devel >= %{_mpfr_minvers} %endif +%endif %else %define _build_mpfr 1 %endif -%if "%{_build}" != "%{_host}" -BuildRequires: %{_host_rpmprefix}mpfr-devel >= %{_mpfr_minvers} -%endif %endif %if "%{_build}" != "%{_host}" @@ -130,7 +134,7 @@ BuildRequires: rtems-4.10-bfin-rtems4.10-binutils Requires: rtems-4.10-gcc-common Requires: rtems-4.10-bfin-rtems4.10-binutils -Requires: rtems-4.10-bfin-rtems4.10-newlib = %{newlib_version}-36%{?dist} +Requires: rtems-4.10-bfin-rtems4.10-newlib = %{newlib_version}-37%{?dist} %if "%{gcc_version}" >= "3.4" @@ -471,7 +475,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \ # Group: Development/Tools # Version: %{gcc_rpmvers} # Requires: rtems-4.10-bfin-rtems4.10-binutils -# Requires: rtems-4.10-bfin-rtems4.10-newlib = %{newlib_version}-36%{?dist} +# Requires: rtems-4.10-bfin-rtems4.10-newlib = %{newlib_version}-37%{?dist} # License: GPL # %if %build_infos @@ -623,7 +627,7 @@ Summary: C Library (newlib) for bfin-rtems4.10 Group: Development/Tools License: Distributable Version: %{newlib_version} -Release: 36%{?dist} +Release: 37%{?dist} Requires: rtems-4.10-newlib-common @@ -643,7 +647,7 @@ Newlib C Library for bfin-rtems4.10. Summary: Base package for RTEMS newlib C Library Group: Development/Tools Version: %{newlib_version} -Release: 36%{?dist} +Release: 37%{?dist} License: Distributable Requires(post): /sbin/install-info |