Ignore:
Timestamp:
Apr 20, 2009, 9:28:37 AM (11 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
c8633f1
Parents:
b77b3672
Message:

Regenerate.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • contrib/crossrpms/rtems4.10/mips/rtems-4.10-mips-rtems4.10-gcc.spec

    rb77b3672 r5faedff  
    5454%define newlib_version          1.17.0
    5555
    56 %define mpfr_version    2.3.1
    57 
    5856Name:           rtems-4.10-mips-rtems4.10-gcc
    5957Summary:        mips-rtems4.10 gcc
     
    6159Group:          Development/Tools
    6260Version:        %{gcc_rpmvers}
    63 Release:        2%{?dist}
     61Release:        3%{?dist}
    6462License:        GPL
    6563URL:            http://gcc.gnu.org
     
    7169
    7270%if "%{gcc_version}" >= "4.3.0"
    73 BuildRequires:  gmp-devel >= 4.1
     71%define _gmp_minvers            4.1
     72%else
     73%if "%{gcc_version}" >= "4.2.0"
     74%endif
     75%endif
     76
     77%if %{defined _gmp_minvers}
     78BuildRequires: gmp-devel >= %{_gmp_minvers}
    7479%if "%{_build}" != "%{_host}"
    75 BuildRequires:  %{_host_rpmprefix}gmp-devel
    76 BuildRequires:  %{_host_rpmprefix}mpfr-devel
    77 %endif
    78 %if 0%{?fedora} >= 8
    79 BuildRequires:  mpfr-devel >= 2.3.0
    80 %endif
    81 %if "%{?suse}" > "10.3"
    82 BuildRequires:  mpfr-devel >= 2.3.0
    83 %endif
    84 # These distros ship an insufficient mpfr
    85 %{?el4:%define  _build_mpfr     1}
    86 %{?suse10_3:%define     _build_mpfr     1}
     80BuildRequires:  %{_host_rpmprefix}gmp-devel >= %{_gmp_minvers}
     81%endif
     82%endif
     83
     84
     85%if "%{gcc_version}" >= "4.4.0"
     86%define _mpfr_minvers   2.3.2
     87%define mpfr_version    2.4.1
     88%else
     89%if "%{gcc_version}" >= "4.3.0"
     90%define _mpfr_minvers   2.3.1
     91%define mpfr_version    2.3.2
     92%else
     93%if "%{gcc_version}" >= "4.2.0"
     94%endif
     95%endif
     96%endif
     97
     98%if %{defined _mpfr_minvers}
     99%{?suse10_3:%global mpfr_provided 2.2.1}
     100%{?fc9:%global mpfr_provided 2.3.1}
     101%{?fc10:%global mpfr_provided 2.3.2}
     102%{?fc11:%global mpfr_provided 2.4.1}
     103
     104%if %{defined mpfr_provided}
     105%if "%{mpfr_provided}" < "%{_mpfr_minvers}"
     106%define _build_mpfr 1
     107%else
     108BuildRequires: mpfr-devel >= %{_mpfr_minvers}
     109%endif
     110%else
     111%define _build_mpfr 1
     112%endif
     113
     114%if "%{_build}" != "%{_host}"
     115BuildRequires:  %{_host_rpmprefix}mpfr-devel >= %{_mpfr_minvers}
     116%endif
    87117%endif
    88118
     
    101131Requires:       rtems-4.10-gcc-common
    102132Requires:       rtems-4.10-mips-rtems4.10-binutils
    103 Requires:       rtems-4.10-mips-rtems4.10-newlib = %{newlib_version}-35%{?dist}
     133Requires:       rtems-4.10-mips-rtems4.10-newlib = %{newlib_version}-36%{?dist}
    104134
    105135
     
    442472# Version:        %{gcc_rpmvers}
    443473# Requires:       rtems-4.10-mips-rtems4.10-binutils
    444 # Requires:       rtems-4.10-mips-rtems4.10-newlib = %{newlib_version}-35%{?dist}
     474# Requires:       rtems-4.10-mips-rtems4.10-newlib = %{newlib_version}-36%{?dist}
    445475# License:      GPL
    446476
     
    594624License:        Distributable
    595625Version:        %{newlib_version}
    596 Release:        35%{?dist}
     626Release:        36%{?dist}
    597627
    598628Requires:       rtems-4.10-newlib-common
     
    614644Group:          Development/Tools
    615645Version:        %{newlib_version}
    616 Release:        35%{?dist}
     646Release:        36%{?dist}
    617647License:        Distributable
    618648
Note: See TracChangeset for help on using the changeset viewer.