forked from Imagelibrary/rtems
Regenerate.
This commit is contained in:
@@ -58,7 +58,7 @@ Summary: arm-rtems4.11 gcc
|
||||
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
Release: 10%{?dist}
|
||||
Release: 12%{?dist}
|
||||
License: GPL
|
||||
URL: http://gcc.gnu.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@@ -80,14 +80,14 @@ BuildRequires: %{_host_rpmprefix}gcc
|
||||
|
||||
# versions of libraries, we conditionally bundle if necessary
|
||||
%global mpc_version 0.8.1
|
||||
%global mpfr_version 2.4.1
|
||||
%global mpfr_version 2.4.2
|
||||
%global gmp_version 4.3.2
|
||||
%global libelf_version 0.8.13
|
||||
|
||||
# versions of libraries these distros are known to ship
|
||||
%if 0%{?fc13}
|
||||
%global mpc_provided 0.8.1
|
||||
%global mpfr_provided 2.4.1
|
||||
%global mpfr_provided 2.4.2
|
||||
%global gmp_provided 4.3.1
|
||||
%endif
|
||||
|
||||
@@ -240,7 +240,7 @@ BuildRequires: rtems-4.11-arm-rtems4.11-binutils
|
||||
Requires: rtems-4.11-gcc-common
|
||||
Requires: rtems-4.11-arm-rtems4.11-binutils
|
||||
Requires: rtems-4.11-arm-rtems4.11-gcc-libgcc = %{gcc_rpmvers}-%{release}
|
||||
Requires: rtems-4.11-arm-rtems4.11-newlib = %{newlib_version}-10%{?dist}
|
||||
Requires: rtems-4.11-arm-rtems4.11-newlib = %{newlib_version}-12%{?dist}
|
||||
|
||||
%if "%{gcc_version}" >= "4.5.0"
|
||||
BuildRequires: zlib-devel
|
||||
@@ -254,20 +254,13 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
|
||||
|
||||
%if "%{gcc_version}" == "4.5.0"
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100414.diff
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.3-rtems4.10-20100315.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100522.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 0}
|
||||
|
||||
%if "%{gcc_version}" == "4.5.0"
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 1}
|
||||
|
||||
%if "%{newlib_version}" == "1.18.0"
|
||||
@@ -347,7 +340,7 @@ cd ..
|
||||
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
|
||||
%endif
|
||||
|
||||
echo "RTEMS gcc-%{gcc_version}-10%{?dist}/newlib-%{newlib_version}-10%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
|
||||
echo "RTEMS gcc-%{gcc_version}-12%{?dist}/newlib-%{newlib_version}-12%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
|
||||
|
||||
|
||||
# Fix timestamps
|
||||
@@ -617,7 +610,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
|
||||
# Group: Development/Tools
|
||||
# Version: %{gcc_rpmvers}
|
||||
# Requires: rtems-4.11-arm-rtems4.11-binutils
|
||||
# Requires: rtems-4.11-arm-rtems4.11-newlib = %{newlib_version}-10%{?dist}
|
||||
# Requires: rtems-4.11-arm-rtems4.11-newlib = %{newlib_version}-12%{?dist}
|
||||
# License: GPL
|
||||
|
||||
# %if %build_infos
|
||||
@@ -635,7 +628,7 @@ Summary: libgcc for arm-rtems4.11-gcc
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
Requires: rtems-4.11-arm-rtems4.11-newlib = %{newlib_version}-10%{?dist}
|
||||
Requires: rtems-4.11-arm-rtems4.11-newlib = %{newlib_version}-12%{?dist}
|
||||
License: GPL
|
||||
|
||||
%description -n rtems-4.11-arm-rtems4.11-gcc-libgcc
|
||||
@@ -809,7 +802,7 @@ Summary: C Library (newlib) for arm-rtems4.11
|
||||
Group: Development/Tools
|
||||
License: Distributable
|
||||
Version: %{newlib_version}
|
||||
Release: 10%{?dist}
|
||||
Release: 12%{?dist}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
|
||||
Requires: rtems-4.11-newlib-common
|
||||
@@ -830,7 +823,7 @@ Newlib C Library for arm-rtems4.11.
|
||||
Summary: Base package for RTEMS newlib C Library
|
||||
Group: Development/Tools
|
||||
Version: %{newlib_version}
|
||||
Release: 10%{?dist}
|
||||
Release: 12%{?dist}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
License: Distributable
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@ Summary: avr-rtems4.11 gcc
|
||||
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
Release: 10%{?dist}
|
||||
Release: 12%{?dist}
|
||||
License: GPL
|
||||
URL: http://gcc.gnu.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@@ -80,14 +80,14 @@ BuildRequires: %{_host_rpmprefix}gcc
|
||||
|
||||
# versions of libraries, we conditionally bundle if necessary
|
||||
%global mpc_version 0.8.1
|
||||
%global mpfr_version 2.4.1
|
||||
%global mpfr_version 2.4.2
|
||||
%global gmp_version 4.3.2
|
||||
%global libelf_version 0.8.13
|
||||
|
||||
# versions of libraries these distros are known to ship
|
||||
%if 0%{?fc13}
|
||||
%global mpc_provided 0.8.1
|
||||
%global mpfr_provided 2.4.1
|
||||
%global mpfr_provided 2.4.2
|
||||
%global gmp_provided 4.3.1
|
||||
%endif
|
||||
|
||||
@@ -240,7 +240,7 @@ BuildRequires: rtems-4.11-avr-rtems4.11-binutils
|
||||
Requires: rtems-4.11-gcc-common
|
||||
Requires: rtems-4.11-avr-rtems4.11-binutils
|
||||
Requires: rtems-4.11-avr-rtems4.11-gcc-libgcc = %{gcc_rpmvers}-%{release}
|
||||
Requires: rtems-4.11-avr-rtems4.11-newlib = %{newlib_version}-10%{?dist}
|
||||
Requires: rtems-4.11-avr-rtems4.11-newlib = %{newlib_version}-12%{?dist}
|
||||
|
||||
%if "%{gcc_version}" >= "4.5.0"
|
||||
BuildRequires: zlib-devel
|
||||
@@ -254,11 +254,7 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
|
||||
|
||||
%if "%{gcc_version}" == "4.5.0"
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100414.diff
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.3-rtems4.10-20100315.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100522.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 0}
|
||||
|
||||
@@ -335,7 +331,7 @@ cd ..
|
||||
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
|
||||
%endif
|
||||
|
||||
echo "RTEMS gcc-%{gcc_version}-10%{?dist}/newlib-%{newlib_version}-10%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
|
||||
echo "RTEMS gcc-%{gcc_version}-12%{?dist}/newlib-%{newlib_version}-12%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
|
||||
|
||||
|
||||
# Fix timestamps
|
||||
@@ -604,7 +600,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
|
||||
# Group: Development/Tools
|
||||
# Version: %{gcc_rpmvers}
|
||||
# Requires: rtems-4.11-avr-rtems4.11-binutils
|
||||
# Requires: rtems-4.11-avr-rtems4.11-newlib = %{newlib_version}-10%{?dist}
|
||||
# Requires: rtems-4.11-avr-rtems4.11-newlib = %{newlib_version}-12%{?dist}
|
||||
# License: GPL
|
||||
|
||||
# %if %build_infos
|
||||
@@ -622,7 +618,7 @@ Summary: libgcc for avr-rtems4.11-gcc
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
Requires: rtems-4.11-avr-rtems4.11-newlib = %{newlib_version}-10%{?dist}
|
||||
Requires: rtems-4.11-avr-rtems4.11-newlib = %{newlib_version}-12%{?dist}
|
||||
License: GPL
|
||||
|
||||
%description -n rtems-4.11-avr-rtems4.11-gcc-libgcc
|
||||
@@ -735,7 +731,7 @@ Summary: C Library (newlib) for avr-rtems4.11
|
||||
Group: Development/Tools
|
||||
License: Distributable
|
||||
Version: %{newlib_version}
|
||||
Release: 10%{?dist}
|
||||
Release: 12%{?dist}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
|
||||
Requires: rtems-4.11-newlib-common
|
||||
@@ -756,7 +752,7 @@ Newlib C Library for avr-rtems4.11.
|
||||
Summary: Base package for RTEMS newlib C Library
|
||||
Group: Development/Tools
|
||||
Version: %{newlib_version}
|
||||
Release: 10%{?dist}
|
||||
Release: 12%{?dist}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
License: Distributable
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@ Summary: bfin-rtems4.11 gcc
|
||||
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
Release: 10%{?dist}
|
||||
Release: 12%{?dist}
|
||||
License: GPL
|
||||
URL: http://gcc.gnu.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@@ -80,14 +80,14 @@ BuildRequires: %{_host_rpmprefix}gcc
|
||||
|
||||
# versions of libraries, we conditionally bundle if necessary
|
||||
%global mpc_version 0.8.1
|
||||
%global mpfr_version 2.4.1
|
||||
%global mpfr_version 2.4.2
|
||||
%global gmp_version 4.3.2
|
||||
%global libelf_version 0.8.13
|
||||
|
||||
# versions of libraries these distros are known to ship
|
||||
%if 0%{?fc13}
|
||||
%global mpc_provided 0.8.1
|
||||
%global mpfr_provided 2.4.1
|
||||
%global mpfr_provided 2.4.2
|
||||
%global gmp_provided 4.3.1
|
||||
%endif
|
||||
|
||||
@@ -240,7 +240,7 @@ BuildRequires: rtems-4.11-bfin-rtems4.11-binutils
|
||||
Requires: rtems-4.11-gcc-common
|
||||
Requires: rtems-4.11-bfin-rtems4.11-binutils
|
||||
Requires: rtems-4.11-bfin-rtems4.11-gcc-libgcc = %{gcc_rpmvers}-%{release}
|
||||
Requires: rtems-4.11-bfin-rtems4.11-newlib = %{newlib_version}-10%{?dist}
|
||||
Requires: rtems-4.11-bfin-rtems4.11-newlib = %{newlib_version}-12%{?dist}
|
||||
|
||||
%if "%{gcc_version}" >= "4.5.0"
|
||||
BuildRequires: zlib-devel
|
||||
@@ -254,20 +254,13 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
|
||||
|
||||
%if "%{gcc_version}" == "4.5.0"
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100414.diff
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.3-rtems4.10-20100315.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100522.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 0}
|
||||
|
||||
%if "%{gcc_version}" == "4.5.0"
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 1}
|
||||
|
||||
%if "%{newlib_version}" == "1.18.0"
|
||||
@@ -347,7 +340,7 @@ cd ..
|
||||
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
|
||||
%endif
|
||||
|
||||
echo "RTEMS gcc-%{gcc_version}-10%{?dist}/newlib-%{newlib_version}-10%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
|
||||
echo "RTEMS gcc-%{gcc_version}-12%{?dist}/newlib-%{newlib_version}-12%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
|
||||
|
||||
|
||||
# Fix timestamps
|
||||
@@ -617,7 +610,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
|
||||
# Group: Development/Tools
|
||||
# Version: %{gcc_rpmvers}
|
||||
# Requires: rtems-4.11-bfin-rtems4.11-binutils
|
||||
# Requires: rtems-4.11-bfin-rtems4.11-newlib = %{newlib_version}-10%{?dist}
|
||||
# Requires: rtems-4.11-bfin-rtems4.11-newlib = %{newlib_version}-12%{?dist}
|
||||
# License: GPL
|
||||
|
||||
# %if %build_infos
|
||||
@@ -635,7 +628,7 @@ Summary: libgcc for bfin-rtems4.11-gcc
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
Requires: rtems-4.11-bfin-rtems4.11-newlib = %{newlib_version}-10%{?dist}
|
||||
Requires: rtems-4.11-bfin-rtems4.11-newlib = %{newlib_version}-12%{?dist}
|
||||
License: GPL
|
||||
|
||||
%description -n rtems-4.11-bfin-rtems4.11-gcc-libgcc
|
||||
@@ -809,7 +802,7 @@ Summary: C Library (newlib) for bfin-rtems4.11
|
||||
Group: Development/Tools
|
||||
License: Distributable
|
||||
Version: %{newlib_version}
|
||||
Release: 10%{?dist}
|
||||
Release: 12%{?dist}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
|
||||
Requires: rtems-4.11-newlib-common
|
||||
@@ -830,7 +823,7 @@ Newlib C Library for bfin-rtems4.11.
|
||||
Summary: Base package for RTEMS newlib C Library
|
||||
Group: Development/Tools
|
||||
Version: %{newlib_version}
|
||||
Release: 10%{?dist}
|
||||
Release: 12%{?dist}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
License: Distributable
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@ Summary: h8300-rtems4.11 gcc
|
||||
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
Release: 10%{?dist}
|
||||
Release: 12%{?dist}
|
||||
License: GPL
|
||||
URL: http://gcc.gnu.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@@ -80,14 +80,14 @@ BuildRequires: %{_host_rpmprefix}gcc
|
||||
|
||||
# versions of libraries, we conditionally bundle if necessary
|
||||
%global mpc_version 0.8.1
|
||||
%global mpfr_version 2.4.1
|
||||
%global mpfr_version 2.4.2
|
||||
%global gmp_version 4.3.2
|
||||
%global libelf_version 0.8.13
|
||||
|
||||
# versions of libraries these distros are known to ship
|
||||
%if 0%{?fc13}
|
||||
%global mpc_provided 0.8.1
|
||||
%global mpfr_provided 2.4.1
|
||||
%global mpfr_provided 2.4.2
|
||||
%global gmp_provided 4.3.1
|
||||
%endif
|
||||
|
||||
@@ -240,7 +240,7 @@ BuildRequires: rtems-4.11-h8300-rtems4.11-binutils
|
||||
Requires: rtems-4.11-gcc-common
|
||||
Requires: rtems-4.11-h8300-rtems4.11-binutils
|
||||
Requires: rtems-4.11-h8300-rtems4.11-gcc-libgcc = %{gcc_rpmvers}-%{release}
|
||||
Requires: rtems-4.11-h8300-rtems4.11-newlib = %{newlib_version}-10%{?dist}
|
||||
Requires: rtems-4.11-h8300-rtems4.11-newlib = %{newlib_version}-12%{?dist}
|
||||
|
||||
%if "%{gcc_version}" >= "4.5.0"
|
||||
BuildRequires: zlib-devel
|
||||
@@ -254,20 +254,13 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
|
||||
|
||||
%if "%{gcc_version}" == "4.5.0"
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100414.diff
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.3-rtems4.10-20100315.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100522.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 0}
|
||||
|
||||
%if "%{gcc_version}" == "4.5.0"
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 1}
|
||||
|
||||
%if "%{newlib_version}" == "1.18.0"
|
||||
@@ -347,7 +340,7 @@ cd ..
|
||||
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
|
||||
%endif
|
||||
|
||||
echo "RTEMS gcc-%{gcc_version}-10%{?dist}/newlib-%{newlib_version}-10%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
|
||||
echo "RTEMS gcc-%{gcc_version}-12%{?dist}/newlib-%{newlib_version}-12%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
|
||||
|
||||
|
||||
# Fix timestamps
|
||||
@@ -617,7 +610,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
|
||||
# Group: Development/Tools
|
||||
# Version: %{gcc_rpmvers}
|
||||
# Requires: rtems-4.11-h8300-rtems4.11-binutils
|
||||
# Requires: rtems-4.11-h8300-rtems4.11-newlib = %{newlib_version}-10%{?dist}
|
||||
# Requires: rtems-4.11-h8300-rtems4.11-newlib = %{newlib_version}-12%{?dist}
|
||||
# License: GPL
|
||||
|
||||
# %if %build_infos
|
||||
@@ -635,7 +628,7 @@ Summary: libgcc for h8300-rtems4.11-gcc
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
Requires: rtems-4.11-h8300-rtems4.11-newlib = %{newlib_version}-10%{?dist}
|
||||
Requires: rtems-4.11-h8300-rtems4.11-newlib = %{newlib_version}-12%{?dist}
|
||||
License: GPL
|
||||
|
||||
%description -n rtems-4.11-h8300-rtems4.11-gcc-libgcc
|
||||
@@ -809,7 +802,7 @@ Summary: C Library (newlib) for h8300-rtems4.11
|
||||
Group: Development/Tools
|
||||
License: Distributable
|
||||
Version: %{newlib_version}
|
||||
Release: 10%{?dist}
|
||||
Release: 12%{?dist}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
|
||||
Requires: rtems-4.11-newlib-common
|
||||
@@ -830,7 +823,7 @@ Newlib C Library for h8300-rtems4.11.
|
||||
Summary: Base package for RTEMS newlib C Library
|
||||
Group: Development/Tools
|
||||
Version: %{newlib_version}
|
||||
Release: 10%{?dist}
|
||||
Release: 12%{?dist}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
License: Distributable
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@ Summary: i386-rtems4.11 gcc
|
||||
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
Release: 10%{?dist}
|
||||
Release: 12%{?dist}
|
||||
License: GPL
|
||||
URL: http://gcc.gnu.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@@ -80,14 +80,14 @@ BuildRequires: %{_host_rpmprefix}gcc
|
||||
|
||||
# versions of libraries, we conditionally bundle if necessary
|
||||
%global mpc_version 0.8.1
|
||||
%global mpfr_version 2.4.1
|
||||
%global mpfr_version 2.4.2
|
||||
%global gmp_version 4.3.2
|
||||
%global libelf_version 0.8.13
|
||||
|
||||
# versions of libraries these distros are known to ship
|
||||
%if 0%{?fc13}
|
||||
%global mpc_provided 0.8.1
|
||||
%global mpfr_provided 2.4.1
|
||||
%global mpfr_provided 2.4.2
|
||||
%global gmp_provided 4.3.1
|
||||
%endif
|
||||
|
||||
@@ -240,7 +240,7 @@ BuildRequires: rtems-4.11-i386-rtems4.11-binutils
|
||||
Requires: rtems-4.11-gcc-common
|
||||
Requires: rtems-4.11-i386-rtems4.11-binutils
|
||||
Requires: rtems-4.11-i386-rtems4.11-gcc-libgcc = %{gcc_rpmvers}-%{release}
|
||||
Requires: rtems-4.11-i386-rtems4.11-newlib = %{newlib_version}-10%{?dist}
|
||||
Requires: rtems-4.11-i386-rtems4.11-newlib = %{newlib_version}-12%{?dist}
|
||||
|
||||
%if "%{gcc_version}" >= "4.5.0"
|
||||
BuildRequires: zlib-devel
|
||||
@@ -254,20 +254,13 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
|
||||
|
||||
%if "%{gcc_version}" == "4.5.0"
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100414.diff
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.3-rtems4.10-20100315.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100522.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 0}
|
||||
|
||||
%if "%{gcc_version}" == "4.5.0"
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 1}
|
||||
|
||||
%if "%{newlib_version}" == "1.18.0"
|
||||
@@ -347,7 +340,7 @@ cd ..
|
||||
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
|
||||
%endif
|
||||
|
||||
echo "RTEMS gcc-%{gcc_version}-10%{?dist}/newlib-%{newlib_version}-10%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
|
||||
echo "RTEMS gcc-%{gcc_version}-12%{?dist}/newlib-%{newlib_version}-12%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
|
||||
|
||||
|
||||
# Fix timestamps
|
||||
@@ -617,7 +610,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
|
||||
# Group: Development/Tools
|
||||
# Version: %{gcc_rpmvers}
|
||||
# Requires: rtems-4.11-i386-rtems4.11-binutils
|
||||
# Requires: rtems-4.11-i386-rtems4.11-newlib = %{newlib_version}-10%{?dist}
|
||||
# Requires: rtems-4.11-i386-rtems4.11-newlib = %{newlib_version}-12%{?dist}
|
||||
# License: GPL
|
||||
|
||||
# %if %build_infos
|
||||
@@ -635,7 +628,7 @@ Summary: libgcc for i386-rtems4.11-gcc
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
Requires: rtems-4.11-i386-rtems4.11-newlib = %{newlib_version}-10%{?dist}
|
||||
Requires: rtems-4.11-i386-rtems4.11-newlib = %{newlib_version}-12%{?dist}
|
||||
License: GPL
|
||||
|
||||
%description -n rtems-4.11-i386-rtems4.11-gcc-libgcc
|
||||
@@ -809,7 +802,7 @@ Summary: C Library (newlib) for i386-rtems4.11
|
||||
Group: Development/Tools
|
||||
License: Distributable
|
||||
Version: %{newlib_version}
|
||||
Release: 10%{?dist}
|
||||
Release: 12%{?dist}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
|
||||
Requires: rtems-4.11-newlib-common
|
||||
@@ -830,7 +823,7 @@ Newlib C Library for i386-rtems4.11.
|
||||
Summary: Base package for RTEMS newlib C Library
|
||||
Group: Development/Tools
|
||||
Version: %{newlib_version}
|
||||
Release: 10%{?dist}
|
||||
Release: 12%{?dist}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
License: Distributable
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@ Summary: lm32-rtems4.11 gcc
|
||||
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
Release: 10%{?dist}
|
||||
Release: 12%{?dist}
|
||||
License: GPL
|
||||
URL: http://gcc.gnu.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@@ -80,14 +80,14 @@ BuildRequires: %{_host_rpmprefix}gcc
|
||||
|
||||
# versions of libraries, we conditionally bundle if necessary
|
||||
%global mpc_version 0.8.1
|
||||
%global mpfr_version 2.4.1
|
||||
%global mpfr_version 2.4.2
|
||||
%global gmp_version 4.3.2
|
||||
%global libelf_version 0.8.13
|
||||
|
||||
# versions of libraries these distros are known to ship
|
||||
%if 0%{?fc13}
|
||||
%global mpc_provided 0.8.1
|
||||
%global mpfr_provided 2.4.1
|
||||
%global mpfr_provided 2.4.2
|
||||
%global gmp_provided 4.3.1
|
||||
%endif
|
||||
|
||||
@@ -240,7 +240,7 @@ BuildRequires: rtems-4.11-lm32-rtems4.11-binutils
|
||||
Requires: rtems-4.11-gcc-common
|
||||
Requires: rtems-4.11-lm32-rtems4.11-binutils
|
||||
Requires: rtems-4.11-lm32-rtems4.11-gcc-libgcc = %{gcc_rpmvers}-%{release}
|
||||
Requires: rtems-4.11-lm32-rtems4.11-newlib = %{newlib_version}-10%{?dist}
|
||||
Requires: rtems-4.11-lm32-rtems4.11-newlib = %{newlib_version}-12%{?dist}
|
||||
|
||||
%if "%{gcc_version}" >= "4.5.0"
|
||||
BuildRequires: zlib-devel
|
||||
@@ -254,20 +254,13 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
|
||||
|
||||
%if "%{gcc_version}" == "4.5.0"
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100414.diff
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.3-rtems4.10-20100315.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100522.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 0}
|
||||
|
||||
%if "%{gcc_version}" == "4.5.0"
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 1}
|
||||
|
||||
%if "%{newlib_version}" == "1.18.0"
|
||||
@@ -347,7 +340,7 @@ cd ..
|
||||
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
|
||||
%endif
|
||||
|
||||
echo "RTEMS gcc-%{gcc_version}-10%{?dist}/newlib-%{newlib_version}-10%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
|
||||
echo "RTEMS gcc-%{gcc_version}-12%{?dist}/newlib-%{newlib_version}-12%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
|
||||
|
||||
|
||||
# Fix timestamps
|
||||
@@ -617,7 +610,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
|
||||
# Group: Development/Tools
|
||||
# Version: %{gcc_rpmvers}
|
||||
# Requires: rtems-4.11-lm32-rtems4.11-binutils
|
||||
# Requires: rtems-4.11-lm32-rtems4.11-newlib = %{newlib_version}-10%{?dist}
|
||||
# Requires: rtems-4.11-lm32-rtems4.11-newlib = %{newlib_version}-12%{?dist}
|
||||
# License: GPL
|
||||
|
||||
# %if %build_infos
|
||||
@@ -635,7 +628,7 @@ Summary: libgcc for lm32-rtems4.11-gcc
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
Requires: rtems-4.11-lm32-rtems4.11-newlib = %{newlib_version}-10%{?dist}
|
||||
Requires: rtems-4.11-lm32-rtems4.11-newlib = %{newlib_version}-12%{?dist}
|
||||
License: GPL
|
||||
|
||||
%description -n rtems-4.11-lm32-rtems4.11-gcc-libgcc
|
||||
@@ -809,7 +802,7 @@ Summary: C Library (newlib) for lm32-rtems4.11
|
||||
Group: Development/Tools
|
||||
License: Distributable
|
||||
Version: %{newlib_version}
|
||||
Release: 10%{?dist}
|
||||
Release: 12%{?dist}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
|
||||
Requires: rtems-4.11-newlib-common
|
||||
@@ -830,7 +823,7 @@ Newlib C Library for lm32-rtems4.11.
|
||||
Summary: Base package for RTEMS newlib C Library
|
||||
Group: Development/Tools
|
||||
Version: %{newlib_version}
|
||||
Release: 10%{?dist}
|
||||
Release: 12%{?dist}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
License: Distributable
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@ Summary: m32c-rtems4.11 gcc
|
||||
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
Release: 10%{?dist}
|
||||
Release: 12%{?dist}
|
||||
License: GPL
|
||||
URL: http://gcc.gnu.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@@ -80,14 +80,14 @@ BuildRequires: %{_host_rpmprefix}gcc
|
||||
|
||||
# versions of libraries, we conditionally bundle if necessary
|
||||
%global mpc_version 0.8.1
|
||||
%global mpfr_version 2.4.1
|
||||
%global mpfr_version 2.4.2
|
||||
%global gmp_version 4.3.2
|
||||
%global libelf_version 0.8.13
|
||||
|
||||
# versions of libraries these distros are known to ship
|
||||
%if 0%{?fc13}
|
||||
%global mpc_provided 0.8.1
|
||||
%global mpfr_provided 2.4.1
|
||||
%global mpfr_provided 2.4.2
|
||||
%global gmp_provided 4.3.1
|
||||
%endif
|
||||
|
||||
@@ -240,7 +240,7 @@ BuildRequires: rtems-4.11-m32c-rtems4.11-binutils
|
||||
Requires: rtems-4.11-gcc-common
|
||||
Requires: rtems-4.11-m32c-rtems4.11-binutils
|
||||
Requires: rtems-4.11-m32c-rtems4.11-gcc-libgcc = %{gcc_rpmvers}-%{release}
|
||||
Requires: rtems-4.11-m32c-rtems4.11-newlib = %{newlib_version}-10%{?dist}
|
||||
Requires: rtems-4.11-m32c-rtems4.11-newlib = %{newlib_version}-12%{?dist}
|
||||
|
||||
%if "%{gcc_version}" >= "4.5.0"
|
||||
BuildRequires: zlib-devel
|
||||
@@ -254,11 +254,7 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
|
||||
|
||||
%if "%{gcc_version}" == "4.5.0"
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100414.diff
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.3-rtems4.10-20100315.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100522.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 0}
|
||||
|
||||
@@ -335,7 +331,7 @@ cd ..
|
||||
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
|
||||
%endif
|
||||
|
||||
echo "RTEMS gcc-%{gcc_version}-10%{?dist}/newlib-%{newlib_version}-10%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
|
||||
echo "RTEMS gcc-%{gcc_version}-12%{?dist}/newlib-%{newlib_version}-12%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
|
||||
|
||||
|
||||
# Fix timestamps
|
||||
@@ -604,7 +600,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
|
||||
# Group: Development/Tools
|
||||
# Version: %{gcc_rpmvers}
|
||||
# Requires: rtems-4.11-m32c-rtems4.11-binutils
|
||||
# Requires: rtems-4.11-m32c-rtems4.11-newlib = %{newlib_version}-10%{?dist}
|
||||
# Requires: rtems-4.11-m32c-rtems4.11-newlib = %{newlib_version}-12%{?dist}
|
||||
# License: GPL
|
||||
|
||||
# %if %build_infos
|
||||
@@ -622,7 +618,7 @@ Summary: libgcc for m32c-rtems4.11-gcc
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
Requires: rtems-4.11-m32c-rtems4.11-newlib = %{newlib_version}-10%{?dist}
|
||||
Requires: rtems-4.11-m32c-rtems4.11-newlib = %{newlib_version}-12%{?dist}
|
||||
License: GPL
|
||||
|
||||
%description -n rtems-4.11-m32c-rtems4.11-gcc-libgcc
|
||||
@@ -736,7 +732,7 @@ Summary: C Library (newlib) for m32c-rtems4.11
|
||||
Group: Development/Tools
|
||||
License: Distributable
|
||||
Version: %{newlib_version}
|
||||
Release: 10%{?dist}
|
||||
Release: 12%{?dist}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
|
||||
Requires: rtems-4.11-newlib-common
|
||||
@@ -757,7 +753,7 @@ Newlib C Library for m32c-rtems4.11.
|
||||
Summary: Base package for RTEMS newlib C Library
|
||||
Group: Development/Tools
|
||||
Version: %{newlib_version}
|
||||
Release: 10%{?dist}
|
||||
Release: 12%{?dist}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
License: Distributable
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@ Summary: m32r-rtems4.11 gcc
|
||||
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
Release: 10%{?dist}
|
||||
Release: 12%{?dist}
|
||||
License: GPL
|
||||
URL: http://gcc.gnu.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@@ -80,14 +80,14 @@ BuildRequires: %{_host_rpmprefix}gcc
|
||||
|
||||
# versions of libraries, we conditionally bundle if necessary
|
||||
%global mpc_version 0.8.1
|
||||
%global mpfr_version 2.4.1
|
||||
%global mpfr_version 2.4.2
|
||||
%global gmp_version 4.3.2
|
||||
%global libelf_version 0.8.13
|
||||
|
||||
# versions of libraries these distros are known to ship
|
||||
%if 0%{?fc13}
|
||||
%global mpc_provided 0.8.1
|
||||
%global mpfr_provided 2.4.1
|
||||
%global mpfr_provided 2.4.2
|
||||
%global gmp_provided 4.3.1
|
||||
%endif
|
||||
|
||||
@@ -240,7 +240,7 @@ BuildRequires: rtems-4.11-m32r-rtems4.11-binutils
|
||||
Requires: rtems-4.11-gcc-common
|
||||
Requires: rtems-4.11-m32r-rtems4.11-binutils
|
||||
Requires: rtems-4.11-m32r-rtems4.11-gcc-libgcc = %{gcc_rpmvers}-%{release}
|
||||
Requires: rtems-4.11-m32r-rtems4.11-newlib = %{newlib_version}-10%{?dist}
|
||||
Requires: rtems-4.11-m32r-rtems4.11-newlib = %{newlib_version}-12%{?dist}
|
||||
|
||||
%if "%{gcc_version}" >= "4.5.0"
|
||||
BuildRequires: zlib-devel
|
||||
@@ -254,11 +254,7 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
|
||||
|
||||
%if "%{gcc_version}" == "4.5.0"
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100414.diff
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.3-rtems4.10-20100315.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100522.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 0}
|
||||
|
||||
@@ -335,7 +331,7 @@ cd ..
|
||||
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
|
||||
%endif
|
||||
|
||||
echo "RTEMS gcc-%{gcc_version}-10%{?dist}/newlib-%{newlib_version}-10%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
|
||||
echo "RTEMS gcc-%{gcc_version}-12%{?dist}/newlib-%{newlib_version}-12%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
|
||||
|
||||
|
||||
# Fix timestamps
|
||||
@@ -604,7 +600,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
|
||||
# Group: Development/Tools
|
||||
# Version: %{gcc_rpmvers}
|
||||
# Requires: rtems-4.11-m32r-rtems4.11-binutils
|
||||
# Requires: rtems-4.11-m32r-rtems4.11-newlib = %{newlib_version}-10%{?dist}
|
||||
# Requires: rtems-4.11-m32r-rtems4.11-newlib = %{newlib_version}-12%{?dist}
|
||||
# License: GPL
|
||||
|
||||
# %if %build_infos
|
||||
@@ -622,7 +618,7 @@ Summary: libgcc for m32r-rtems4.11-gcc
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
Requires: rtems-4.11-m32r-rtems4.11-newlib = %{newlib_version}-10%{?dist}
|
||||
Requires: rtems-4.11-m32r-rtems4.11-newlib = %{newlib_version}-12%{?dist}
|
||||
License: GPL
|
||||
|
||||
%description -n rtems-4.11-m32r-rtems4.11-gcc-libgcc
|
||||
@@ -736,7 +732,7 @@ Summary: C Library (newlib) for m32r-rtems4.11
|
||||
Group: Development/Tools
|
||||
License: Distributable
|
||||
Version: %{newlib_version}
|
||||
Release: 10%{?dist}
|
||||
Release: 12%{?dist}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
|
||||
Requires: rtems-4.11-newlib-common
|
||||
@@ -757,7 +753,7 @@ Newlib C Library for m32r-rtems4.11.
|
||||
Summary: Base package for RTEMS newlib C Library
|
||||
Group: Development/Tools
|
||||
Version: %{newlib_version}
|
||||
Release: 10%{?dist}
|
||||
Release: 12%{?dist}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
License: Distributable
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@ Summary: m68k-rtems4.11 gcc
|
||||
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
Release: 10%{?dist}
|
||||
Release: 12%{?dist}
|
||||
License: GPL
|
||||
URL: http://gcc.gnu.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@@ -80,14 +80,14 @@ BuildRequires: %{_host_rpmprefix}gcc
|
||||
|
||||
# versions of libraries, we conditionally bundle if necessary
|
||||
%global mpc_version 0.8.1
|
||||
%global mpfr_version 2.4.1
|
||||
%global mpfr_version 2.4.2
|
||||
%global gmp_version 4.3.2
|
||||
%global libelf_version 0.8.13
|
||||
|
||||
# versions of libraries these distros are known to ship
|
||||
%if 0%{?fc13}
|
||||
%global mpc_provided 0.8.1
|
||||
%global mpfr_provided 2.4.1
|
||||
%global mpfr_provided 2.4.2
|
||||
%global gmp_provided 4.3.1
|
||||
%endif
|
||||
|
||||
@@ -240,7 +240,7 @@ BuildRequires: rtems-4.11-m68k-rtems4.11-binutils
|
||||
Requires: rtems-4.11-gcc-common
|
||||
Requires: rtems-4.11-m68k-rtems4.11-binutils
|
||||
Requires: rtems-4.11-m68k-rtems4.11-gcc-libgcc = %{gcc_rpmvers}-%{release}
|
||||
Requires: rtems-4.11-m68k-rtems4.11-newlib = %{newlib_version}-10%{?dist}
|
||||
Requires: rtems-4.11-m68k-rtems4.11-newlib = %{newlib_version}-12%{?dist}
|
||||
|
||||
%if "%{gcc_version}" >= "4.5.0"
|
||||
BuildRequires: zlib-devel
|
||||
@@ -254,20 +254,13 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
|
||||
|
||||
%if "%{gcc_version}" == "4.5.0"
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100414.diff
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.3-rtems4.10-20100315.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100522.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 0}
|
||||
|
||||
%if "%{gcc_version}" == "4.5.0"
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 1}
|
||||
|
||||
%if "%{newlib_version}" == "1.18.0"
|
||||
@@ -347,7 +340,7 @@ cd ..
|
||||
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
|
||||
%endif
|
||||
|
||||
echo "RTEMS gcc-%{gcc_version}-10%{?dist}/newlib-%{newlib_version}-10%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
|
||||
echo "RTEMS gcc-%{gcc_version}-12%{?dist}/newlib-%{newlib_version}-12%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
|
||||
|
||||
|
||||
# Fix timestamps
|
||||
@@ -617,7 +610,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
|
||||
# Group: Development/Tools
|
||||
# Version: %{gcc_rpmvers}
|
||||
# Requires: rtems-4.11-m68k-rtems4.11-binutils
|
||||
# Requires: rtems-4.11-m68k-rtems4.11-newlib = %{newlib_version}-10%{?dist}
|
||||
# Requires: rtems-4.11-m68k-rtems4.11-newlib = %{newlib_version}-12%{?dist}
|
||||
# License: GPL
|
||||
|
||||
# %if %build_infos
|
||||
@@ -635,7 +628,7 @@ Summary: libgcc for m68k-rtems4.11-gcc
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
Requires: rtems-4.11-m68k-rtems4.11-newlib = %{newlib_version}-10%{?dist}
|
||||
Requires: rtems-4.11-m68k-rtems4.11-newlib = %{newlib_version}-12%{?dist}
|
||||
License: GPL
|
||||
|
||||
%description -n rtems-4.11-m68k-rtems4.11-gcc-libgcc
|
||||
@@ -809,7 +802,7 @@ Summary: C Library (newlib) for m68k-rtems4.11
|
||||
Group: Development/Tools
|
||||
License: Distributable
|
||||
Version: %{newlib_version}
|
||||
Release: 10%{?dist}
|
||||
Release: 12%{?dist}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
|
||||
Requires: rtems-4.11-newlib-common
|
||||
@@ -830,7 +823,7 @@ Newlib C Library for m68k-rtems4.11.
|
||||
Summary: Base package for RTEMS newlib C Library
|
||||
Group: Development/Tools
|
||||
Version: %{newlib_version}
|
||||
Release: 10%{?dist}
|
||||
Release: 12%{?dist}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
License: Distributable
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@ Summary: mips-rtems4.11 gcc
|
||||
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
Release: 10%{?dist}
|
||||
Release: 12%{?dist}
|
||||
License: GPL
|
||||
URL: http://gcc.gnu.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@@ -80,14 +80,14 @@ BuildRequires: %{_host_rpmprefix}gcc
|
||||
|
||||
# versions of libraries, we conditionally bundle if necessary
|
||||
%global mpc_version 0.8.1
|
||||
%global mpfr_version 2.4.1
|
||||
%global mpfr_version 2.4.2
|
||||
%global gmp_version 4.3.2
|
||||
%global libelf_version 0.8.13
|
||||
|
||||
# versions of libraries these distros are known to ship
|
||||
%if 0%{?fc13}
|
||||
%global mpc_provided 0.8.1
|
||||
%global mpfr_provided 2.4.1
|
||||
%global mpfr_provided 2.4.2
|
||||
%global gmp_provided 4.3.1
|
||||
%endif
|
||||
|
||||
@@ -240,7 +240,7 @@ BuildRequires: rtems-4.11-mips-rtems4.11-binutils
|
||||
Requires: rtems-4.11-gcc-common
|
||||
Requires: rtems-4.11-mips-rtems4.11-binutils
|
||||
Requires: rtems-4.11-mips-rtems4.11-gcc-libgcc = %{gcc_rpmvers}-%{release}
|
||||
Requires: rtems-4.11-mips-rtems4.11-newlib = %{newlib_version}-10%{?dist}
|
||||
Requires: rtems-4.11-mips-rtems4.11-newlib = %{newlib_version}-12%{?dist}
|
||||
|
||||
%if "%{gcc_version}" >= "4.5.0"
|
||||
BuildRequires: zlib-devel
|
||||
@@ -254,20 +254,13 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
|
||||
|
||||
%if "%{gcc_version}" == "4.5.0"
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100414.diff
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.3-rtems4.10-20100315.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100522.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 0}
|
||||
|
||||
%if "%{gcc_version}" == "4.5.0"
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 1}
|
||||
|
||||
%if "%{newlib_version}" == "1.18.0"
|
||||
@@ -347,7 +340,7 @@ cd ..
|
||||
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
|
||||
%endif
|
||||
|
||||
echo "RTEMS gcc-%{gcc_version}-10%{?dist}/newlib-%{newlib_version}-10%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
|
||||
echo "RTEMS gcc-%{gcc_version}-12%{?dist}/newlib-%{newlib_version}-12%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
|
||||
|
||||
|
||||
# Fix timestamps
|
||||
@@ -617,7 +610,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
|
||||
# Group: Development/Tools
|
||||
# Version: %{gcc_rpmvers}
|
||||
# Requires: rtems-4.11-mips-rtems4.11-binutils
|
||||
# Requires: rtems-4.11-mips-rtems4.11-newlib = %{newlib_version}-10%{?dist}
|
||||
# Requires: rtems-4.11-mips-rtems4.11-newlib = %{newlib_version}-12%{?dist}
|
||||
# License: GPL
|
||||
|
||||
# %if %build_infos
|
||||
@@ -635,7 +628,7 @@ Summary: libgcc for mips-rtems4.11-gcc
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
Requires: rtems-4.11-mips-rtems4.11-newlib = %{newlib_version}-10%{?dist}
|
||||
Requires: rtems-4.11-mips-rtems4.11-newlib = %{newlib_version}-12%{?dist}
|
||||
License: GPL
|
||||
|
||||
%description -n rtems-4.11-mips-rtems4.11-gcc-libgcc
|
||||
@@ -809,7 +802,7 @@ Summary: C Library (newlib) for mips-rtems4.11
|
||||
Group: Development/Tools
|
||||
License: Distributable
|
||||
Version: %{newlib_version}
|
||||
Release: 10%{?dist}
|
||||
Release: 12%{?dist}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
|
||||
Requires: rtems-4.11-newlib-common
|
||||
@@ -830,7 +823,7 @@ Newlib C Library for mips-rtems4.11.
|
||||
Summary: Base package for RTEMS newlib C Library
|
||||
Group: Development/Tools
|
||||
Version: %{newlib_version}
|
||||
Release: 10%{?dist}
|
||||
Release: 12%{?dist}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
License: Distributable
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@ Summary: powerpc-rtems4.11 gcc
|
||||
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
Release: 10%{?dist}
|
||||
Release: 12%{?dist}
|
||||
License: GPL
|
||||
URL: http://gcc.gnu.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@@ -80,14 +80,14 @@ BuildRequires: %{_host_rpmprefix}gcc
|
||||
|
||||
# versions of libraries, we conditionally bundle if necessary
|
||||
%global mpc_version 0.8.1
|
||||
%global mpfr_version 2.4.1
|
||||
%global mpfr_version 2.4.2
|
||||
%global gmp_version 4.3.2
|
||||
%global libelf_version 0.8.13
|
||||
|
||||
# versions of libraries these distros are known to ship
|
||||
%if 0%{?fc13}
|
||||
%global mpc_provided 0.8.1
|
||||
%global mpfr_provided 2.4.1
|
||||
%global mpfr_provided 2.4.2
|
||||
%global gmp_provided 4.3.1
|
||||
%endif
|
||||
|
||||
@@ -240,7 +240,7 @@ BuildRequires: rtems-4.11-powerpc-rtems4.11-binutils
|
||||
Requires: rtems-4.11-gcc-common
|
||||
Requires: rtems-4.11-powerpc-rtems4.11-binutils
|
||||
Requires: rtems-4.11-powerpc-rtems4.11-gcc-libgcc = %{gcc_rpmvers}-%{release}
|
||||
Requires: rtems-4.11-powerpc-rtems4.11-newlib = %{newlib_version}-10%{?dist}
|
||||
Requires: rtems-4.11-powerpc-rtems4.11-newlib = %{newlib_version}-12%{?dist}
|
||||
|
||||
%if "%{gcc_version}" >= "4.5.0"
|
||||
BuildRequires: zlib-devel
|
||||
@@ -254,20 +254,13 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
|
||||
|
||||
%if "%{gcc_version}" == "4.5.0"
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100414.diff
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.3-rtems4.10-20100315.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100522.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 0}
|
||||
|
||||
%if "%{gcc_version}" == "4.5.0"
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 1}
|
||||
|
||||
%if "%{newlib_version}" == "1.18.0"
|
||||
@@ -347,7 +340,7 @@ cd ..
|
||||
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
|
||||
%endif
|
||||
|
||||
echo "RTEMS gcc-%{gcc_version}-10%{?dist}/newlib-%{newlib_version}-10%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
|
||||
echo "RTEMS gcc-%{gcc_version}-12%{?dist}/newlib-%{newlib_version}-12%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
|
||||
|
||||
|
||||
# Fix timestamps
|
||||
@@ -617,7 +610,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
|
||||
# Group: Development/Tools
|
||||
# Version: %{gcc_rpmvers}
|
||||
# Requires: rtems-4.11-powerpc-rtems4.11-binutils
|
||||
# Requires: rtems-4.11-powerpc-rtems4.11-newlib = %{newlib_version}-10%{?dist}
|
||||
# Requires: rtems-4.11-powerpc-rtems4.11-newlib = %{newlib_version}-12%{?dist}
|
||||
# License: GPL
|
||||
|
||||
# %if %build_infos
|
||||
@@ -635,7 +628,7 @@ Summary: libgcc for powerpc-rtems4.11-gcc
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
Requires: rtems-4.11-powerpc-rtems4.11-newlib = %{newlib_version}-10%{?dist}
|
||||
Requires: rtems-4.11-powerpc-rtems4.11-newlib = %{newlib_version}-12%{?dist}
|
||||
License: GPL
|
||||
|
||||
%description -n rtems-4.11-powerpc-rtems4.11-gcc-libgcc
|
||||
@@ -809,7 +802,7 @@ Summary: C Library (newlib) for powerpc-rtems4.11
|
||||
Group: Development/Tools
|
||||
License: Distributable
|
||||
Version: %{newlib_version}
|
||||
Release: 10%{?dist}
|
||||
Release: 12%{?dist}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
|
||||
Requires: rtems-4.11-newlib-common
|
||||
@@ -830,7 +823,7 @@ Newlib C Library for powerpc-rtems4.11.
|
||||
Summary: Base package for RTEMS newlib C Library
|
||||
Group: Development/Tools
|
||||
Version: %{newlib_version}
|
||||
Release: 10%{?dist}
|
||||
Release: 12%{?dist}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
License: Distributable
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@ Summary: sh-rtems4.11 gcc
|
||||
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
Release: 10%{?dist}
|
||||
Release: 12%{?dist}
|
||||
License: GPL
|
||||
URL: http://gcc.gnu.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@@ -80,14 +80,14 @@ BuildRequires: %{_host_rpmprefix}gcc
|
||||
|
||||
# versions of libraries, we conditionally bundle if necessary
|
||||
%global mpc_version 0.8.1
|
||||
%global mpfr_version 2.4.1
|
||||
%global mpfr_version 2.4.2
|
||||
%global gmp_version 4.3.2
|
||||
%global libelf_version 0.8.13
|
||||
|
||||
# versions of libraries these distros are known to ship
|
||||
%if 0%{?fc13}
|
||||
%global mpc_provided 0.8.1
|
||||
%global mpfr_provided 2.4.1
|
||||
%global mpfr_provided 2.4.2
|
||||
%global gmp_provided 4.3.1
|
||||
%endif
|
||||
|
||||
@@ -240,7 +240,7 @@ BuildRequires: rtems-4.11-sh-rtems4.11-binutils
|
||||
Requires: rtems-4.11-gcc-common
|
||||
Requires: rtems-4.11-sh-rtems4.11-binutils
|
||||
Requires: rtems-4.11-sh-rtems4.11-gcc-libgcc = %{gcc_rpmvers}-%{release}
|
||||
Requires: rtems-4.11-sh-rtems4.11-newlib = %{newlib_version}-10%{?dist}
|
||||
Requires: rtems-4.11-sh-rtems4.11-newlib = %{newlib_version}-12%{?dist}
|
||||
|
||||
%if "%{gcc_version}" >= "4.5.0"
|
||||
BuildRequires: zlib-devel
|
||||
@@ -254,20 +254,13 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
|
||||
|
||||
%if "%{gcc_version}" == "4.5.0"
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100414.diff
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.3-rtems4.10-20100315.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100522.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 0}
|
||||
|
||||
%if "%{gcc_version}" == "4.5.0"
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 1}
|
||||
|
||||
%if "%{newlib_version}" == "1.18.0"
|
||||
@@ -347,7 +340,7 @@ cd ..
|
||||
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
|
||||
%endif
|
||||
|
||||
echo "RTEMS gcc-%{gcc_version}-10%{?dist}/newlib-%{newlib_version}-10%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
|
||||
echo "RTEMS gcc-%{gcc_version}-12%{?dist}/newlib-%{newlib_version}-12%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
|
||||
|
||||
|
||||
# Fix timestamps
|
||||
@@ -617,7 +610,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
|
||||
# Group: Development/Tools
|
||||
# Version: %{gcc_rpmvers}
|
||||
# Requires: rtems-4.11-sh-rtems4.11-binutils
|
||||
# Requires: rtems-4.11-sh-rtems4.11-newlib = %{newlib_version}-10%{?dist}
|
||||
# Requires: rtems-4.11-sh-rtems4.11-newlib = %{newlib_version}-12%{?dist}
|
||||
# License: GPL
|
||||
|
||||
# %if %build_infos
|
||||
@@ -635,7 +628,7 @@ Summary: libgcc for sh-rtems4.11-gcc
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
Requires: rtems-4.11-sh-rtems4.11-newlib = %{newlib_version}-10%{?dist}
|
||||
Requires: rtems-4.11-sh-rtems4.11-newlib = %{newlib_version}-12%{?dist}
|
||||
License: GPL
|
||||
|
||||
%description -n rtems-4.11-sh-rtems4.11-gcc-libgcc
|
||||
@@ -809,7 +802,7 @@ Summary: C Library (newlib) for sh-rtems4.11
|
||||
Group: Development/Tools
|
||||
License: Distributable
|
||||
Version: %{newlib_version}
|
||||
Release: 10%{?dist}
|
||||
Release: 12%{?dist}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
|
||||
Requires: rtems-4.11-newlib-common
|
||||
@@ -830,7 +823,7 @@ Newlib C Library for sh-rtems4.11.
|
||||
Summary: Base package for RTEMS newlib C Library
|
||||
Group: Development/Tools
|
||||
Version: %{newlib_version}
|
||||
Release: 10%{?dist}
|
||||
Release: 12%{?dist}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
License: Distributable
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@ Summary: sparc-rtems4.11 gcc
|
||||
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
Release: 10%{?dist}
|
||||
Release: 12%{?dist}
|
||||
License: GPL
|
||||
URL: http://gcc.gnu.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@@ -80,14 +80,14 @@ BuildRequires: %{_host_rpmprefix}gcc
|
||||
|
||||
# versions of libraries, we conditionally bundle if necessary
|
||||
%global mpc_version 0.8.1
|
||||
%global mpfr_version 2.4.1
|
||||
%global mpfr_version 2.4.2
|
||||
%global gmp_version 4.3.2
|
||||
%global libelf_version 0.8.13
|
||||
|
||||
# versions of libraries these distros are known to ship
|
||||
%if 0%{?fc13}
|
||||
%global mpc_provided 0.8.1
|
||||
%global mpfr_provided 2.4.1
|
||||
%global mpfr_provided 2.4.2
|
||||
%global gmp_provided 4.3.1
|
||||
%endif
|
||||
|
||||
@@ -240,7 +240,7 @@ BuildRequires: rtems-4.11-sparc-rtems4.11-binutils
|
||||
Requires: rtems-4.11-gcc-common
|
||||
Requires: rtems-4.11-sparc-rtems4.11-binutils
|
||||
Requires: rtems-4.11-sparc-rtems4.11-gcc-libgcc = %{gcc_rpmvers}-%{release}
|
||||
Requires: rtems-4.11-sparc-rtems4.11-newlib = %{newlib_version}-10%{?dist}
|
||||
Requires: rtems-4.11-sparc-rtems4.11-newlib = %{newlib_version}-12%{?dist}
|
||||
|
||||
%if "%{gcc_version}" >= "4.5.0"
|
||||
BuildRequires: zlib-devel
|
||||
@@ -254,20 +254,13 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
|
||||
|
||||
%if "%{gcc_version}" == "4.5.0"
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100414.diff
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.3-rtems4.10-20100315.diff
|
||||
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100522.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 0}
|
||||
|
||||
%if "%{gcc_version}" == "4.5.0"
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
%endif
|
||||
%if "%{gcc_version}" == "4.4.3"
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 1}
|
||||
|
||||
%if "%{newlib_version}" == "1.18.0"
|
||||
@@ -347,7 +340,7 @@ cd ..
|
||||
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
|
||||
%endif
|
||||
|
||||
echo "RTEMS gcc-%{gcc_version}-10%{?dist}/newlib-%{newlib_version}-10%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
|
||||
echo "RTEMS gcc-%{gcc_version}-12%{?dist}/newlib-%{newlib_version}-12%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
|
||||
|
||||
|
||||
# Fix timestamps
|
||||
@@ -617,7 +610,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
|
||||
# Group: Development/Tools
|
||||
# Version: %{gcc_rpmvers}
|
||||
# Requires: rtems-4.11-sparc-rtems4.11-binutils
|
||||
# Requires: rtems-4.11-sparc-rtems4.11-newlib = %{newlib_version}-10%{?dist}
|
||||
# Requires: rtems-4.11-sparc-rtems4.11-newlib = %{newlib_version}-12%{?dist}
|
||||
# License: GPL
|
||||
|
||||
# %if %build_infos
|
||||
@@ -635,7 +628,7 @@ Summary: libgcc for sparc-rtems4.11-gcc
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
Requires: rtems-4.11-sparc-rtems4.11-newlib = %{newlib_version}-10%{?dist}
|
||||
Requires: rtems-4.11-sparc-rtems4.11-newlib = %{newlib_version}-12%{?dist}
|
||||
License: GPL
|
||||
|
||||
%description -n rtems-4.11-sparc-rtems4.11-gcc-libgcc
|
||||
@@ -809,7 +802,7 @@ Summary: C Library (newlib) for sparc-rtems4.11
|
||||
Group: Development/Tools
|
||||
License: Distributable
|
||||
Version: %{newlib_version}
|
||||
Release: 10%{?dist}
|
||||
Release: 12%{?dist}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
|
||||
Requires: rtems-4.11-newlib-common
|
||||
@@ -830,7 +823,7 @@ Newlib C Library for sparc-rtems4.11.
|
||||
Summary: Base package for RTEMS newlib C Library
|
||||
Group: Development/Tools
|
||||
Version: %{newlib_version}
|
||||
Release: 10%{?dist}
|
||||
Release: 12%{?dist}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
License: Distributable
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@ Summary: sparc64-rtems4.11 gcc
|
||||
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
Release: 11%{?dist}
|
||||
Release: 12%{?dist}
|
||||
License: GPL
|
||||
URL: http://gcc.gnu.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@@ -80,14 +80,14 @@ BuildRequires: %{_host_rpmprefix}gcc
|
||||
|
||||
# versions of libraries, we conditionally bundle if necessary
|
||||
%global mpc_version 0.8.1
|
||||
%global mpfr_version 2.4.1
|
||||
%global mpfr_version 2.4.2
|
||||
%global gmp_version 4.3.2
|
||||
%global libelf_version 0.8.13
|
||||
|
||||
# versions of libraries these distros are known to ship
|
||||
%if 0%{?fc13}
|
||||
%global mpc_provided 0.8.1
|
||||
%global mpfr_provided 2.4.1
|
||||
%global mpfr_provided 2.4.2
|
||||
%global gmp_provided 4.3.1
|
||||
%endif
|
||||
|
||||
@@ -240,7 +240,7 @@ BuildRequires: rtems-4.11-sparc64-rtems4.11-binutils
|
||||
Requires: rtems-4.11-gcc-common
|
||||
Requires: rtems-4.11-sparc64-rtems4.11-binutils
|
||||
Requires: rtems-4.11-sparc64-rtems4.11-gcc-libgcc = %{gcc_rpmvers}-%{release}
|
||||
Requires: rtems-4.11-sparc64-rtems4.11-newlib = %{newlib_version}-11%{?dist}
|
||||
Requires: rtems-4.11-sparc64-rtems4.11-newlib = %{newlib_version}-12%{?dist}
|
||||
|
||||
%if "%{gcc_version}" >= "4.5.0"
|
||||
BuildRequires: zlib-devel
|
||||
@@ -340,7 +340,7 @@ cd ..
|
||||
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
|
||||
%endif
|
||||
|
||||
echo "RTEMS gcc-%{gcc_version}-11%{?dist}/newlib-%{newlib_version}-11%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
|
||||
echo "RTEMS gcc-%{gcc_version}-12%{?dist}/newlib-%{newlib_version}-12%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
|
||||
|
||||
|
||||
# Fix timestamps
|
||||
@@ -610,7 +610,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
|
||||
# Group: Development/Tools
|
||||
# Version: %{gcc_rpmvers}
|
||||
# Requires: rtems-4.11-sparc64-rtems4.11-binutils
|
||||
# Requires: rtems-4.11-sparc64-rtems4.11-newlib = %{newlib_version}-11%{?dist}
|
||||
# Requires: rtems-4.11-sparc64-rtems4.11-newlib = %{newlib_version}-12%{?dist}
|
||||
# License: GPL
|
||||
|
||||
# %if %build_infos
|
||||
@@ -628,7 +628,7 @@ Summary: libgcc for sparc64-rtems4.11-gcc
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
Requires: rtems-4.11-sparc64-rtems4.11-newlib = %{newlib_version}-11%{?dist}
|
||||
Requires: rtems-4.11-sparc64-rtems4.11-newlib = %{newlib_version}-12%{?dist}
|
||||
License: GPL
|
||||
|
||||
%description -n rtems-4.11-sparc64-rtems4.11-gcc-libgcc
|
||||
@@ -802,7 +802,7 @@ Summary: C Library (newlib) for sparc64-rtems4.11
|
||||
Group: Development/Tools
|
||||
License: Distributable
|
||||
Version: %{newlib_version}
|
||||
Release: 11%{?dist}
|
||||
Release: 12%{?dist}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
|
||||
Requires: rtems-4.11-newlib-common
|
||||
@@ -823,7 +823,7 @@ Newlib C Library for sparc64-rtems4.11.
|
||||
Summary: Base package for RTEMS newlib C Library
|
||||
Group: Development/Tools
|
||||
Version: %{newlib_version}
|
||||
Release: 11%{?dist}
|
||||
Release: 12%{?dist}
|
||||
%{?_with_noarch_subpackages:BuildArch: noarch}
|
||||
License: Distributable
|
||||
|
||||
|
||||
Reference in New Issue
Block a user