Regenerate.

This commit is contained in:
Ralf Corsepius
2011-04-19 02:20:00 +00:00
parent 2f8efdca9f
commit 4e11eef0b6
13 changed files with 186 additions and 104 deletions

View File

@@ -58,7 +58,7 @@ Summary: arm-rtems4.10 gcc
Group: Development/Tools Group: Development/Tools
Version: %{gcc_rpmvers} Version: %{gcc_rpmvers}
Release: 7%{?dist} Release: 8%{?dist}
License: GPL License: GPL
URL: http://gcc.gnu.org URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -245,7 +245,7 @@ BuildRequires: rtems-4.10-arm-rtems4.10-binutils
Requires: rtems-4.10-gcc-common Requires: rtems-4.10-gcc-common
Requires: rtems-4.10-arm-rtems4.10-binutils Requires: rtems-4.10-arm-rtems4.10-binutils
Requires: rtems-4.10-arm-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release} Requires: rtems-4.10-arm-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
Requires: rtems-4.10-arm-rtems4.10-newlib = %{newlib_version}-22%{?dist} Requires: rtems-4.10-arm-rtems4.10-newlib = %{newlib_version}-23%{?dist}
%if "%{gcc_version}" >= "4.5.0" %if "%{gcc_version}" >= "4.5.0"
BuildRequires: zlib-devel BuildRequires: zlib-devel
@@ -261,16 +261,23 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2 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.5-rtems4.10-20110301.diff Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.5-rtems4.10-20110301.diff
%endif %endif
%if "%{gcc_version}" == "4.4.6"
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.6-rtems4.10-20110418.diff
%endif
%{?_without_sources:NoSource: 0} %{?_without_sources:NoSource: 0}
%if "%{gcc_version}" == "4.4.5" %if "%{gcc_version}" == "4.4.5"
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2 Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
%endif %endif
%if "%{gcc_version}" == "4.4.6"
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
%endif
%{?_without_sources:NoSource: 1} %{?_without_sources:NoSource: 1}
%if "%{newlib_version}" == "1.18.0" %if "%{newlib_version}" == "1.18.0"
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20110114.diff Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20110419.diff
%endif %endif
%{?_without_sources:NoSource: 50} %{?_without_sources:NoSource: 50}
@@ -352,7 +359,7 @@ rm newlib-%{newlib_version}/newlib/libc/include/stdint.h
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
%endif %endif
echo "RTEMS gcc-%{gcc_version}-7%{?dist}/newlib-%{newlib_version}-22%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE echo "RTEMS gcc-%{gcc_version}-8%{?dist}/newlib-%{newlib_version}-23%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
# Fix timestamps # Fix timestamps
@@ -622,7 +629,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
# Group: Development/Tools # Group: Development/Tools
# Version: %{gcc_rpmvers} # Version: %{gcc_rpmvers}
# Requires: rtems-4.10-arm-rtems4.10-binutils # Requires: rtems-4.10-arm-rtems4.10-binutils
# Requires: rtems-4.10-arm-rtems4.10-newlib = %{newlib_version}-22%{?dist} # Requires: rtems-4.10-arm-rtems4.10-newlib = %{newlib_version}-23%{?dist}
# License: GPL # License: GPL
# %if %build_infos # %if %build_infos
@@ -640,7 +647,7 @@ Summary: libgcc for arm-rtems4.10-gcc
Group: Development/Tools Group: Development/Tools
Version: %{gcc_rpmvers} Version: %{gcc_rpmvers}
%{?_with_noarch_subpackages:BuildArch: noarch} %{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.10-arm-rtems4.10-newlib = %{newlib_version}-22%{?dist} Requires: rtems-4.10-arm-rtems4.10-newlib = %{newlib_version}-23%{?dist}
License: GPL License: GPL
%description -n rtems-4.10-arm-rtems4.10-gcc-libgcc %description -n rtems-4.10-arm-rtems4.10-gcc-libgcc
@@ -814,7 +821,7 @@ Summary: C Library (newlib) for arm-rtems4.10
Group: Development/Tools Group: Development/Tools
License: Distributable License: Distributable
Version: %{newlib_version} Version: %{newlib_version}
Release: 22%{?dist} Release: 23%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch} %{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.10-newlib-common Requires: rtems-4.10-newlib-common
@@ -835,7 +842,7 @@ Newlib C Library for arm-rtems4.10.
Summary: Base package for RTEMS newlib C Library Summary: Base package for RTEMS newlib C Library
Group: Development/Tools Group: Development/Tools
Version: %{newlib_version} Version: %{newlib_version}
Release: 22%{?dist} Release: 23%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch} %{?_with_noarch_subpackages:BuildArch: noarch}
License: Distributable License: Distributable

View File

@@ -58,7 +58,7 @@ Summary: avr-rtems4.10 gcc
Group: Development/Tools Group: Development/Tools
Version: %{gcc_rpmvers} Version: %{gcc_rpmvers}
Release: 7%{?dist} Release: 8%{?dist}
License: GPL License: GPL
URL: http://gcc.gnu.org URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -245,7 +245,7 @@ BuildRequires: rtems-4.10-avr-rtems4.10-binutils
Requires: rtems-4.10-gcc-common Requires: rtems-4.10-gcc-common
Requires: rtems-4.10-avr-rtems4.10-binutils Requires: rtems-4.10-avr-rtems4.10-binutils
Requires: rtems-4.10-avr-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release} Requires: rtems-4.10-avr-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
Requires: rtems-4.10-avr-rtems4.10-newlib = %{newlib_version}-22%{?dist} Requires: rtems-4.10-avr-rtems4.10-newlib = %{newlib_version}-23%{?dist}
%if "%{gcc_version}" >= "4.5.0" %if "%{gcc_version}" >= "4.5.0"
BuildRequires: zlib-devel BuildRequires: zlib-devel
@@ -261,11 +261,15 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2 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.5-rtems4.10-20110301.diff Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.5-rtems4.10-20110301.diff
%endif %endif
%if "%{gcc_version}" == "4.4.6"
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.6-rtems4.10-20110418.diff
%endif
%{?_without_sources:NoSource: 0} %{?_without_sources:NoSource: 0}
%if "%{newlib_version}" == "1.18.0" %if "%{newlib_version}" == "1.18.0"
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20110114.diff Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20110419.diff
%endif %endif
%{?_without_sources:NoSource: 50} %{?_without_sources:NoSource: 50}
@@ -343,7 +347,7 @@ rm newlib-%{newlib_version}/newlib/libc/include/stdint.h
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
%endif %endif
echo "RTEMS gcc-%{gcc_version}-7%{?dist}/newlib-%{newlib_version}-22%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE echo "RTEMS gcc-%{gcc_version}-8%{?dist}/newlib-%{newlib_version}-23%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
# Fix timestamps # Fix timestamps
@@ -612,7 +616,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
# Group: Development/Tools # Group: Development/Tools
# Version: %{gcc_rpmvers} # Version: %{gcc_rpmvers}
# Requires: rtems-4.10-avr-rtems4.10-binutils # Requires: rtems-4.10-avr-rtems4.10-binutils
# Requires: rtems-4.10-avr-rtems4.10-newlib = %{newlib_version}-22%{?dist} # Requires: rtems-4.10-avr-rtems4.10-newlib = %{newlib_version}-23%{?dist}
# License: GPL # License: GPL
# %if %build_infos # %if %build_infos
@@ -630,7 +634,7 @@ Summary: libgcc for avr-rtems4.10-gcc
Group: Development/Tools Group: Development/Tools
Version: %{gcc_rpmvers} Version: %{gcc_rpmvers}
%{?_with_noarch_subpackages:BuildArch: noarch} %{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.10-avr-rtems4.10-newlib = %{newlib_version}-22%{?dist} Requires: rtems-4.10-avr-rtems4.10-newlib = %{newlib_version}-23%{?dist}
License: GPL License: GPL
%description -n rtems-4.10-avr-rtems4.10-gcc-libgcc %description -n rtems-4.10-avr-rtems4.10-gcc-libgcc
@@ -743,7 +747,7 @@ Summary: C Library (newlib) for avr-rtems4.10
Group: Development/Tools Group: Development/Tools
License: Distributable License: Distributable
Version: %{newlib_version} Version: %{newlib_version}
Release: 22%{?dist} Release: 23%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch} %{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.10-newlib-common Requires: rtems-4.10-newlib-common
@@ -764,7 +768,7 @@ Newlib C Library for avr-rtems4.10.
Summary: Base package for RTEMS newlib C Library Summary: Base package for RTEMS newlib C Library
Group: Development/Tools Group: Development/Tools
Version: %{newlib_version} Version: %{newlib_version}
Release: 22%{?dist} Release: 23%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch} %{?_with_noarch_subpackages:BuildArch: noarch}
License: Distributable License: Distributable

View File

@@ -58,7 +58,7 @@ Summary: bfin-rtems4.10 gcc
Group: Development/Tools Group: Development/Tools
Version: %{gcc_rpmvers} Version: %{gcc_rpmvers}
Release: 7%{?dist} Release: 8%{?dist}
License: GPL License: GPL
URL: http://gcc.gnu.org URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -245,7 +245,7 @@ BuildRequires: rtems-4.10-bfin-rtems4.10-binutils
Requires: rtems-4.10-gcc-common Requires: rtems-4.10-gcc-common
Requires: rtems-4.10-bfin-rtems4.10-binutils Requires: rtems-4.10-bfin-rtems4.10-binutils
Requires: rtems-4.10-bfin-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release} Requires: rtems-4.10-bfin-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
Requires: rtems-4.10-bfin-rtems4.10-newlib = %{newlib_version}-22%{?dist} Requires: rtems-4.10-bfin-rtems4.10-newlib = %{newlib_version}-23%{?dist}
%if "%{gcc_version}" >= "4.5.0" %if "%{gcc_version}" >= "4.5.0"
BuildRequires: zlib-devel BuildRequires: zlib-devel
@@ -261,16 +261,23 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2 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.5-rtems4.10-20110301.diff Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.5-rtems4.10-20110301.diff
%endif %endif
%if "%{gcc_version}" == "4.4.6"
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.6-rtems4.10-20110418.diff
%endif
%{?_without_sources:NoSource: 0} %{?_without_sources:NoSource: 0}
%if "%{gcc_version}" == "4.4.5" %if "%{gcc_version}" == "4.4.5"
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2 Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
%endif %endif
%if "%{gcc_version}" == "4.4.6"
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
%endif
%{?_without_sources:NoSource: 1} %{?_without_sources:NoSource: 1}
%if "%{newlib_version}" == "1.18.0" %if "%{newlib_version}" == "1.18.0"
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20110114.diff Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20110419.diff
%endif %endif
%{?_without_sources:NoSource: 50} %{?_without_sources:NoSource: 50}
@@ -352,7 +359,7 @@ rm newlib-%{newlib_version}/newlib/libc/include/stdint.h
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
%endif %endif
echo "RTEMS gcc-%{gcc_version}-7%{?dist}/newlib-%{newlib_version}-22%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE echo "RTEMS gcc-%{gcc_version}-8%{?dist}/newlib-%{newlib_version}-23%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
# Fix timestamps # Fix timestamps
@@ -622,7 +629,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
# Group: Development/Tools # Group: Development/Tools
# Version: %{gcc_rpmvers} # Version: %{gcc_rpmvers}
# Requires: rtems-4.10-bfin-rtems4.10-binutils # Requires: rtems-4.10-bfin-rtems4.10-binutils
# Requires: rtems-4.10-bfin-rtems4.10-newlib = %{newlib_version}-22%{?dist} # Requires: rtems-4.10-bfin-rtems4.10-newlib = %{newlib_version}-23%{?dist}
# License: GPL # License: GPL
# %if %build_infos # %if %build_infos
@@ -640,7 +647,7 @@ Summary: libgcc for bfin-rtems4.10-gcc
Group: Development/Tools Group: Development/Tools
Version: %{gcc_rpmvers} Version: %{gcc_rpmvers}
%{?_with_noarch_subpackages:BuildArch: noarch} %{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.10-bfin-rtems4.10-newlib = %{newlib_version}-22%{?dist} Requires: rtems-4.10-bfin-rtems4.10-newlib = %{newlib_version}-23%{?dist}
License: GPL License: GPL
%description -n rtems-4.10-bfin-rtems4.10-gcc-libgcc %description -n rtems-4.10-bfin-rtems4.10-gcc-libgcc
@@ -814,7 +821,7 @@ Summary: C Library (newlib) for bfin-rtems4.10
Group: Development/Tools Group: Development/Tools
License: Distributable License: Distributable
Version: %{newlib_version} Version: %{newlib_version}
Release: 22%{?dist} Release: 23%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch} %{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.10-newlib-common Requires: rtems-4.10-newlib-common
@@ -835,7 +842,7 @@ Newlib C Library for bfin-rtems4.10.
Summary: Base package for RTEMS newlib C Library Summary: Base package for RTEMS newlib C Library
Group: Development/Tools Group: Development/Tools
Version: %{newlib_version} Version: %{newlib_version}
Release: 22%{?dist} Release: 23%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch} %{?_with_noarch_subpackages:BuildArch: noarch}
License: Distributable License: Distributable

View File

@@ -58,7 +58,7 @@ Summary: h8300-rtems4.10 gcc
Group: Development/Tools Group: Development/Tools
Version: %{gcc_rpmvers} Version: %{gcc_rpmvers}
Release: 7%{?dist} Release: 8%{?dist}
License: GPL License: GPL
URL: http://gcc.gnu.org URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -245,7 +245,7 @@ BuildRequires: rtems-4.10-h8300-rtems4.10-binutils
Requires: rtems-4.10-gcc-common Requires: rtems-4.10-gcc-common
Requires: rtems-4.10-h8300-rtems4.10-binutils Requires: rtems-4.10-h8300-rtems4.10-binutils
Requires: rtems-4.10-h8300-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release} Requires: rtems-4.10-h8300-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
Requires: rtems-4.10-h8300-rtems4.10-newlib = %{newlib_version}-22%{?dist} Requires: rtems-4.10-h8300-rtems4.10-newlib = %{newlib_version}-23%{?dist}
%if "%{gcc_version}" >= "4.5.0" %if "%{gcc_version}" >= "4.5.0"
BuildRequires: zlib-devel BuildRequires: zlib-devel
@@ -261,16 +261,23 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2 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.5-rtems4.10-20110301.diff Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.5-rtems4.10-20110301.diff
%endif %endif
%if "%{gcc_version}" == "4.4.6"
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.6-rtems4.10-20110418.diff
%endif
%{?_without_sources:NoSource: 0} %{?_without_sources:NoSource: 0}
%if "%{gcc_version}" == "4.4.5" %if "%{gcc_version}" == "4.4.5"
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2 Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
%endif %endif
%if "%{gcc_version}" == "4.4.6"
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
%endif
%{?_without_sources:NoSource: 1} %{?_without_sources:NoSource: 1}
%if "%{newlib_version}" == "1.18.0" %if "%{newlib_version}" == "1.18.0"
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20110114.diff Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20110419.diff
%endif %endif
%{?_without_sources:NoSource: 50} %{?_without_sources:NoSource: 50}
@@ -352,7 +359,7 @@ rm newlib-%{newlib_version}/newlib/libc/include/stdint.h
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
%endif %endif
echo "RTEMS gcc-%{gcc_version}-7%{?dist}/newlib-%{newlib_version}-22%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE echo "RTEMS gcc-%{gcc_version}-8%{?dist}/newlib-%{newlib_version}-23%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
# Fix timestamps # Fix timestamps
@@ -622,7 +629,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
# Group: Development/Tools # Group: Development/Tools
# Version: %{gcc_rpmvers} # Version: %{gcc_rpmvers}
# Requires: rtems-4.10-h8300-rtems4.10-binutils # Requires: rtems-4.10-h8300-rtems4.10-binutils
# Requires: rtems-4.10-h8300-rtems4.10-newlib = %{newlib_version}-22%{?dist} # Requires: rtems-4.10-h8300-rtems4.10-newlib = %{newlib_version}-23%{?dist}
# License: GPL # License: GPL
# %if %build_infos # %if %build_infos
@@ -640,7 +647,7 @@ Summary: libgcc for h8300-rtems4.10-gcc
Group: Development/Tools Group: Development/Tools
Version: %{gcc_rpmvers} Version: %{gcc_rpmvers}
%{?_with_noarch_subpackages:BuildArch: noarch} %{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.10-h8300-rtems4.10-newlib = %{newlib_version}-22%{?dist} Requires: rtems-4.10-h8300-rtems4.10-newlib = %{newlib_version}-23%{?dist}
License: GPL License: GPL
%description -n rtems-4.10-h8300-rtems4.10-gcc-libgcc %description -n rtems-4.10-h8300-rtems4.10-gcc-libgcc
@@ -814,7 +821,7 @@ Summary: C Library (newlib) for h8300-rtems4.10
Group: Development/Tools Group: Development/Tools
License: Distributable License: Distributable
Version: %{newlib_version} Version: %{newlib_version}
Release: 22%{?dist} Release: 23%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch} %{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.10-newlib-common Requires: rtems-4.10-newlib-common
@@ -835,7 +842,7 @@ Newlib C Library for h8300-rtems4.10.
Summary: Base package for RTEMS newlib C Library Summary: Base package for RTEMS newlib C Library
Group: Development/Tools Group: Development/Tools
Version: %{newlib_version} Version: %{newlib_version}
Release: 22%{?dist} Release: 23%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch} %{?_with_noarch_subpackages:BuildArch: noarch}
License: Distributable License: Distributable

View File

@@ -58,7 +58,7 @@ Summary: i386-rtems4.10 gcc
Group: Development/Tools Group: Development/Tools
Version: %{gcc_rpmvers} Version: %{gcc_rpmvers}
Release: 7%{?dist} Release: 8%{?dist}
License: GPL License: GPL
URL: http://gcc.gnu.org URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -245,7 +245,7 @@ BuildRequires: rtems-4.10-i386-rtems4.10-binutils
Requires: rtems-4.10-gcc-common Requires: rtems-4.10-gcc-common
Requires: rtems-4.10-i386-rtems4.10-binutils Requires: rtems-4.10-i386-rtems4.10-binutils
Requires: rtems-4.10-i386-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release} Requires: rtems-4.10-i386-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
Requires: rtems-4.10-i386-rtems4.10-newlib = %{newlib_version}-22%{?dist} Requires: rtems-4.10-i386-rtems4.10-newlib = %{newlib_version}-23%{?dist}
%if "%{gcc_version}" >= "4.5.0" %if "%{gcc_version}" >= "4.5.0"
BuildRequires: zlib-devel BuildRequires: zlib-devel
@@ -261,16 +261,23 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2 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.5-rtems4.10-20110301.diff Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.5-rtems4.10-20110301.diff
%endif %endif
%if "%{gcc_version}" == "4.4.6"
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.6-rtems4.10-20110418.diff
%endif
%{?_without_sources:NoSource: 0} %{?_without_sources:NoSource: 0}
%if "%{gcc_version}" == "4.4.5" %if "%{gcc_version}" == "4.4.5"
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2 Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
%endif %endif
%if "%{gcc_version}" == "4.4.6"
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
%endif
%{?_without_sources:NoSource: 1} %{?_without_sources:NoSource: 1}
%if "%{newlib_version}" == "1.18.0" %if "%{newlib_version}" == "1.18.0"
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20110114.diff Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20110419.diff
%endif %endif
%{?_without_sources:NoSource: 50} %{?_without_sources:NoSource: 50}
@@ -352,7 +359,7 @@ rm newlib-%{newlib_version}/newlib/libc/include/stdint.h
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
%endif %endif
echo "RTEMS gcc-%{gcc_version}-7%{?dist}/newlib-%{newlib_version}-22%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE echo "RTEMS gcc-%{gcc_version}-8%{?dist}/newlib-%{newlib_version}-23%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
# Fix timestamps # Fix timestamps
@@ -622,7 +629,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
# Group: Development/Tools # Group: Development/Tools
# Version: %{gcc_rpmvers} # Version: %{gcc_rpmvers}
# Requires: rtems-4.10-i386-rtems4.10-binutils # Requires: rtems-4.10-i386-rtems4.10-binutils
# Requires: rtems-4.10-i386-rtems4.10-newlib = %{newlib_version}-22%{?dist} # Requires: rtems-4.10-i386-rtems4.10-newlib = %{newlib_version}-23%{?dist}
# License: GPL # License: GPL
# %if %build_infos # %if %build_infos
@@ -640,7 +647,7 @@ Summary: libgcc for i386-rtems4.10-gcc
Group: Development/Tools Group: Development/Tools
Version: %{gcc_rpmvers} Version: %{gcc_rpmvers}
%{?_with_noarch_subpackages:BuildArch: noarch} %{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.10-i386-rtems4.10-newlib = %{newlib_version}-22%{?dist} Requires: rtems-4.10-i386-rtems4.10-newlib = %{newlib_version}-23%{?dist}
License: GPL License: GPL
%description -n rtems-4.10-i386-rtems4.10-gcc-libgcc %description -n rtems-4.10-i386-rtems4.10-gcc-libgcc
@@ -814,7 +821,7 @@ Summary: C Library (newlib) for i386-rtems4.10
Group: Development/Tools Group: Development/Tools
License: Distributable License: Distributable
Version: %{newlib_version} Version: %{newlib_version}
Release: 22%{?dist} Release: 23%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch} %{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.10-newlib-common Requires: rtems-4.10-newlib-common
@@ -835,7 +842,7 @@ Newlib C Library for i386-rtems4.10.
Summary: Base package for RTEMS newlib C Library Summary: Base package for RTEMS newlib C Library
Group: Development/Tools Group: Development/Tools
Version: %{newlib_version} Version: %{newlib_version}
Release: 22%{?dist} Release: 23%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch} %{?_with_noarch_subpackages:BuildArch: noarch}
License: Distributable License: Distributable

View File

@@ -58,7 +58,7 @@ Summary: lm32-rtems4.10 gcc
Group: Development/Tools Group: Development/Tools
Version: %{gcc_rpmvers} Version: %{gcc_rpmvers}
Release: 7%{?dist} Release: 8%{?dist}
License: GPL License: GPL
URL: http://gcc.gnu.org URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -245,7 +245,7 @@ BuildRequires: rtems-4.10-lm32-rtems4.10-binutils
Requires: rtems-4.10-gcc-common Requires: rtems-4.10-gcc-common
Requires: rtems-4.10-lm32-rtems4.10-binutils Requires: rtems-4.10-lm32-rtems4.10-binutils
Requires: rtems-4.10-lm32-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release} Requires: rtems-4.10-lm32-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
Requires: rtems-4.10-lm32-rtems4.10-newlib = %{newlib_version}-22%{?dist} Requires: rtems-4.10-lm32-rtems4.10-newlib = %{newlib_version}-23%{?dist}
%if "%{gcc_version}" >= "4.5.0" %if "%{gcc_version}" >= "4.5.0"
BuildRequires: zlib-devel BuildRequires: zlib-devel
@@ -261,16 +261,23 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2 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.5-rtems4.10-20110301.diff Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.5-rtems4.10-20110301.diff
%endif %endif
%if "%{gcc_version}" == "4.4.6"
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.6-rtems4.10-20110418.diff
%endif
%{?_without_sources:NoSource: 0} %{?_without_sources:NoSource: 0}
%if "%{gcc_version}" == "4.4.5" %if "%{gcc_version}" == "4.4.5"
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2 Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
%endif %endif
%if "%{gcc_version}" == "4.4.6"
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
%endif
%{?_without_sources:NoSource: 1} %{?_without_sources:NoSource: 1}
%if "%{newlib_version}" == "1.18.0" %if "%{newlib_version}" == "1.18.0"
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20110114.diff Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20110419.diff
%endif %endif
%{?_without_sources:NoSource: 50} %{?_without_sources:NoSource: 50}
@@ -352,7 +359,7 @@ rm newlib-%{newlib_version}/newlib/libc/include/stdint.h
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
%endif %endif
echo "RTEMS gcc-%{gcc_version}-7%{?dist}/newlib-%{newlib_version}-22%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE echo "RTEMS gcc-%{gcc_version}-8%{?dist}/newlib-%{newlib_version}-23%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
# Fix timestamps # Fix timestamps
@@ -622,7 +629,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
# Group: Development/Tools # Group: Development/Tools
# Version: %{gcc_rpmvers} # Version: %{gcc_rpmvers}
# Requires: rtems-4.10-lm32-rtems4.10-binutils # Requires: rtems-4.10-lm32-rtems4.10-binutils
# Requires: rtems-4.10-lm32-rtems4.10-newlib = %{newlib_version}-22%{?dist} # Requires: rtems-4.10-lm32-rtems4.10-newlib = %{newlib_version}-23%{?dist}
# License: GPL # License: GPL
# %if %build_infos # %if %build_infos
@@ -640,7 +647,7 @@ Summary: libgcc for lm32-rtems4.10-gcc
Group: Development/Tools Group: Development/Tools
Version: %{gcc_rpmvers} Version: %{gcc_rpmvers}
%{?_with_noarch_subpackages:BuildArch: noarch} %{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.10-lm32-rtems4.10-newlib = %{newlib_version}-22%{?dist} Requires: rtems-4.10-lm32-rtems4.10-newlib = %{newlib_version}-23%{?dist}
License: GPL License: GPL
%description -n rtems-4.10-lm32-rtems4.10-gcc-libgcc %description -n rtems-4.10-lm32-rtems4.10-gcc-libgcc
@@ -814,7 +821,7 @@ Summary: C Library (newlib) for lm32-rtems4.10
Group: Development/Tools Group: Development/Tools
License: Distributable License: Distributable
Version: %{newlib_version} Version: %{newlib_version}
Release: 22%{?dist} Release: 23%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch} %{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.10-newlib-common Requires: rtems-4.10-newlib-common
@@ -835,7 +842,7 @@ Newlib C Library for lm32-rtems4.10.
Summary: Base package for RTEMS newlib C Library Summary: Base package for RTEMS newlib C Library
Group: Development/Tools Group: Development/Tools
Version: %{newlib_version} Version: %{newlib_version}
Release: 22%{?dist} Release: 23%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch} %{?_with_noarch_subpackages:BuildArch: noarch}
License: Distributable License: Distributable

View File

@@ -58,7 +58,7 @@ Summary: m32c-rtems4.10 gcc
Group: Development/Tools Group: Development/Tools
Version: %{gcc_rpmvers} Version: %{gcc_rpmvers}
Release: 7%{?dist} Release: 8%{?dist}
License: GPL License: GPL
URL: http://gcc.gnu.org URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -245,7 +245,7 @@ BuildRequires: rtems-4.10-m32c-rtems4.10-binutils
Requires: rtems-4.10-gcc-common Requires: rtems-4.10-gcc-common
Requires: rtems-4.10-m32c-rtems4.10-binutils Requires: rtems-4.10-m32c-rtems4.10-binutils
Requires: rtems-4.10-m32c-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release} Requires: rtems-4.10-m32c-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
Requires: rtems-4.10-m32c-rtems4.10-newlib = %{newlib_version}-22%{?dist} Requires: rtems-4.10-m32c-rtems4.10-newlib = %{newlib_version}-23%{?dist}
%if "%{gcc_version}" >= "4.5.0" %if "%{gcc_version}" >= "4.5.0"
BuildRequires: zlib-devel BuildRequires: zlib-devel
@@ -261,11 +261,15 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2 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.5-rtems4.10-20110301.diff Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.5-rtems4.10-20110301.diff
%endif %endif
%if "%{gcc_version}" == "4.4.6"
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.6-rtems4.10-20110418.diff
%endif
%{?_without_sources:NoSource: 0} %{?_without_sources:NoSource: 0}
%if "%{newlib_version}" == "1.18.0" %if "%{newlib_version}" == "1.18.0"
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20110114.diff Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20110419.diff
%endif %endif
%{?_without_sources:NoSource: 50} %{?_without_sources:NoSource: 50}
@@ -343,7 +347,7 @@ rm newlib-%{newlib_version}/newlib/libc/include/stdint.h
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
%endif %endif
echo "RTEMS gcc-%{gcc_version}-7%{?dist}/newlib-%{newlib_version}-22%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE echo "RTEMS gcc-%{gcc_version}-8%{?dist}/newlib-%{newlib_version}-23%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
# Fix timestamps # Fix timestamps
@@ -612,7 +616,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
# Group: Development/Tools # Group: Development/Tools
# Version: %{gcc_rpmvers} # Version: %{gcc_rpmvers}
# Requires: rtems-4.10-m32c-rtems4.10-binutils # Requires: rtems-4.10-m32c-rtems4.10-binutils
# Requires: rtems-4.10-m32c-rtems4.10-newlib = %{newlib_version}-22%{?dist} # Requires: rtems-4.10-m32c-rtems4.10-newlib = %{newlib_version}-23%{?dist}
# License: GPL # License: GPL
# %if %build_infos # %if %build_infos
@@ -630,7 +634,7 @@ Summary: libgcc for m32c-rtems4.10-gcc
Group: Development/Tools Group: Development/Tools
Version: %{gcc_rpmvers} Version: %{gcc_rpmvers}
%{?_with_noarch_subpackages:BuildArch: noarch} %{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.10-m32c-rtems4.10-newlib = %{newlib_version}-22%{?dist} Requires: rtems-4.10-m32c-rtems4.10-newlib = %{newlib_version}-23%{?dist}
License: GPL License: GPL
%description -n rtems-4.10-m32c-rtems4.10-gcc-libgcc %description -n rtems-4.10-m32c-rtems4.10-gcc-libgcc
@@ -744,7 +748,7 @@ Summary: C Library (newlib) for m32c-rtems4.10
Group: Development/Tools Group: Development/Tools
License: Distributable License: Distributable
Version: %{newlib_version} Version: %{newlib_version}
Release: 22%{?dist} Release: 23%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch} %{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.10-newlib-common Requires: rtems-4.10-newlib-common
@@ -765,7 +769,7 @@ Newlib C Library for m32c-rtems4.10.
Summary: Base package for RTEMS newlib C Library Summary: Base package for RTEMS newlib C Library
Group: Development/Tools Group: Development/Tools
Version: %{newlib_version} Version: %{newlib_version}
Release: 22%{?dist} Release: 23%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch} %{?_with_noarch_subpackages:BuildArch: noarch}
License: Distributable License: Distributable

View File

@@ -58,7 +58,7 @@ Summary: m32r-rtems4.10 gcc
Group: Development/Tools Group: Development/Tools
Version: %{gcc_rpmvers} Version: %{gcc_rpmvers}
Release: 7%{?dist} Release: 8%{?dist}
License: GPL License: GPL
URL: http://gcc.gnu.org URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -245,7 +245,7 @@ BuildRequires: rtems-4.10-m32r-rtems4.10-binutils
Requires: rtems-4.10-gcc-common Requires: rtems-4.10-gcc-common
Requires: rtems-4.10-m32r-rtems4.10-binutils Requires: rtems-4.10-m32r-rtems4.10-binutils
Requires: rtems-4.10-m32r-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release} Requires: rtems-4.10-m32r-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
Requires: rtems-4.10-m32r-rtems4.10-newlib = %{newlib_version}-22%{?dist} Requires: rtems-4.10-m32r-rtems4.10-newlib = %{newlib_version}-23%{?dist}
%if "%{gcc_version}" >= "4.5.0" %if "%{gcc_version}" >= "4.5.0"
BuildRequires: zlib-devel BuildRequires: zlib-devel
@@ -261,11 +261,15 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2 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.5-rtems4.10-20110301.diff Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.5-rtems4.10-20110301.diff
%endif %endif
%if "%{gcc_version}" == "4.4.6"
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.6-rtems4.10-20110418.diff
%endif
%{?_without_sources:NoSource: 0} %{?_without_sources:NoSource: 0}
%if "%{newlib_version}" == "1.18.0" %if "%{newlib_version}" == "1.18.0"
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20110114.diff Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20110419.diff
%endif %endif
%{?_without_sources:NoSource: 50} %{?_without_sources:NoSource: 50}
@@ -343,7 +347,7 @@ rm newlib-%{newlib_version}/newlib/libc/include/stdint.h
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
%endif %endif
echo "RTEMS gcc-%{gcc_version}-7%{?dist}/newlib-%{newlib_version}-22%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE echo "RTEMS gcc-%{gcc_version}-8%{?dist}/newlib-%{newlib_version}-23%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
# Fix timestamps # Fix timestamps
@@ -612,7 +616,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
# Group: Development/Tools # Group: Development/Tools
# Version: %{gcc_rpmvers} # Version: %{gcc_rpmvers}
# Requires: rtems-4.10-m32r-rtems4.10-binutils # Requires: rtems-4.10-m32r-rtems4.10-binutils
# Requires: rtems-4.10-m32r-rtems4.10-newlib = %{newlib_version}-22%{?dist} # Requires: rtems-4.10-m32r-rtems4.10-newlib = %{newlib_version}-23%{?dist}
# License: GPL # License: GPL
# %if %build_infos # %if %build_infos
@@ -630,7 +634,7 @@ Summary: libgcc for m32r-rtems4.10-gcc
Group: Development/Tools Group: Development/Tools
Version: %{gcc_rpmvers} Version: %{gcc_rpmvers}
%{?_with_noarch_subpackages:BuildArch: noarch} %{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.10-m32r-rtems4.10-newlib = %{newlib_version}-22%{?dist} Requires: rtems-4.10-m32r-rtems4.10-newlib = %{newlib_version}-23%{?dist}
License: GPL License: GPL
%description -n rtems-4.10-m32r-rtems4.10-gcc-libgcc %description -n rtems-4.10-m32r-rtems4.10-gcc-libgcc
@@ -744,7 +748,7 @@ Summary: C Library (newlib) for m32r-rtems4.10
Group: Development/Tools Group: Development/Tools
License: Distributable License: Distributable
Version: %{newlib_version} Version: %{newlib_version}
Release: 22%{?dist} Release: 23%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch} %{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.10-newlib-common Requires: rtems-4.10-newlib-common
@@ -765,7 +769,7 @@ Newlib C Library for m32r-rtems4.10.
Summary: Base package for RTEMS newlib C Library Summary: Base package for RTEMS newlib C Library
Group: Development/Tools Group: Development/Tools
Version: %{newlib_version} Version: %{newlib_version}
Release: 22%{?dist} Release: 23%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch} %{?_with_noarch_subpackages:BuildArch: noarch}
License: Distributable License: Distributable

View File

@@ -58,7 +58,7 @@ Summary: m68k-rtems4.10 gcc
Group: Development/Tools Group: Development/Tools
Version: %{gcc_rpmvers} Version: %{gcc_rpmvers}
Release: 7%{?dist} Release: 8%{?dist}
License: GPL License: GPL
URL: http://gcc.gnu.org URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -245,7 +245,7 @@ BuildRequires: rtems-4.10-m68k-rtems4.10-binutils
Requires: rtems-4.10-gcc-common Requires: rtems-4.10-gcc-common
Requires: rtems-4.10-m68k-rtems4.10-binutils Requires: rtems-4.10-m68k-rtems4.10-binutils
Requires: rtems-4.10-m68k-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release} Requires: rtems-4.10-m68k-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
Requires: rtems-4.10-m68k-rtems4.10-newlib = %{newlib_version}-22%{?dist} Requires: rtems-4.10-m68k-rtems4.10-newlib = %{newlib_version}-23%{?dist}
%if "%{gcc_version}" >= "4.5.0" %if "%{gcc_version}" >= "4.5.0"
BuildRequires: zlib-devel BuildRequires: zlib-devel
@@ -261,16 +261,23 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2 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.5-rtems4.10-20110301.diff Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.5-rtems4.10-20110301.diff
%endif %endif
%if "%{gcc_version}" == "4.4.6"
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.6-rtems4.10-20110418.diff
%endif
%{?_without_sources:NoSource: 0} %{?_without_sources:NoSource: 0}
%if "%{gcc_version}" == "4.4.5" %if "%{gcc_version}" == "4.4.5"
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2 Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
%endif %endif
%if "%{gcc_version}" == "4.4.6"
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
%endif
%{?_without_sources:NoSource: 1} %{?_without_sources:NoSource: 1}
%if "%{newlib_version}" == "1.18.0" %if "%{newlib_version}" == "1.18.0"
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20110114.diff Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20110419.diff
%endif %endif
%{?_without_sources:NoSource: 50} %{?_without_sources:NoSource: 50}
@@ -352,7 +359,7 @@ rm newlib-%{newlib_version}/newlib/libc/include/stdint.h
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
%endif %endif
echo "RTEMS gcc-%{gcc_version}-7%{?dist}/newlib-%{newlib_version}-22%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE echo "RTEMS gcc-%{gcc_version}-8%{?dist}/newlib-%{newlib_version}-23%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
# Fix timestamps # Fix timestamps
@@ -622,7 +629,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
# Group: Development/Tools # Group: Development/Tools
# Version: %{gcc_rpmvers} # Version: %{gcc_rpmvers}
# Requires: rtems-4.10-m68k-rtems4.10-binutils # Requires: rtems-4.10-m68k-rtems4.10-binutils
# Requires: rtems-4.10-m68k-rtems4.10-newlib = %{newlib_version}-22%{?dist} # Requires: rtems-4.10-m68k-rtems4.10-newlib = %{newlib_version}-23%{?dist}
# License: GPL # License: GPL
# %if %build_infos # %if %build_infos
@@ -640,7 +647,7 @@ Summary: libgcc for m68k-rtems4.10-gcc
Group: Development/Tools Group: Development/Tools
Version: %{gcc_rpmvers} Version: %{gcc_rpmvers}
%{?_with_noarch_subpackages:BuildArch: noarch} %{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.10-m68k-rtems4.10-newlib = %{newlib_version}-22%{?dist} Requires: rtems-4.10-m68k-rtems4.10-newlib = %{newlib_version}-23%{?dist}
License: GPL License: GPL
%description -n rtems-4.10-m68k-rtems4.10-gcc-libgcc %description -n rtems-4.10-m68k-rtems4.10-gcc-libgcc
@@ -814,7 +821,7 @@ Summary: C Library (newlib) for m68k-rtems4.10
Group: Development/Tools Group: Development/Tools
License: Distributable License: Distributable
Version: %{newlib_version} Version: %{newlib_version}
Release: 22%{?dist} Release: 23%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch} %{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.10-newlib-common Requires: rtems-4.10-newlib-common
@@ -835,7 +842,7 @@ Newlib C Library for m68k-rtems4.10.
Summary: Base package for RTEMS newlib C Library Summary: Base package for RTEMS newlib C Library
Group: Development/Tools Group: Development/Tools
Version: %{newlib_version} Version: %{newlib_version}
Release: 22%{?dist} Release: 23%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch} %{?_with_noarch_subpackages:BuildArch: noarch}
License: Distributable License: Distributable

View File

@@ -58,7 +58,7 @@ Summary: mips-rtems4.10 gcc
Group: Development/Tools Group: Development/Tools
Version: %{gcc_rpmvers} Version: %{gcc_rpmvers}
Release: 7%{?dist} Release: 8%{?dist}
License: GPL License: GPL
URL: http://gcc.gnu.org URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -245,7 +245,7 @@ BuildRequires: rtems-4.10-mips-rtems4.10-binutils
Requires: rtems-4.10-gcc-common Requires: rtems-4.10-gcc-common
Requires: rtems-4.10-mips-rtems4.10-binutils Requires: rtems-4.10-mips-rtems4.10-binutils
Requires: rtems-4.10-mips-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release} Requires: rtems-4.10-mips-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
Requires: rtems-4.10-mips-rtems4.10-newlib = %{newlib_version}-22%{?dist} Requires: rtems-4.10-mips-rtems4.10-newlib = %{newlib_version}-23%{?dist}
%if "%{gcc_version}" >= "4.5.0" %if "%{gcc_version}" >= "4.5.0"
BuildRequires: zlib-devel BuildRequires: zlib-devel
@@ -261,16 +261,23 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2 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.5-rtems4.10-20110301.diff Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.5-rtems4.10-20110301.diff
%endif %endif
%if "%{gcc_version}" == "4.4.6"
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.6-rtems4.10-20110418.diff
%endif
%{?_without_sources:NoSource: 0} %{?_without_sources:NoSource: 0}
%if "%{gcc_version}" == "4.4.5" %if "%{gcc_version}" == "4.4.5"
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2 Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
%endif %endif
%if "%{gcc_version}" == "4.4.6"
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
%endif
%{?_without_sources:NoSource: 1} %{?_without_sources:NoSource: 1}
%if "%{newlib_version}" == "1.18.0" %if "%{newlib_version}" == "1.18.0"
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20110114.diff Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20110419.diff
%endif %endif
%{?_without_sources:NoSource: 50} %{?_without_sources:NoSource: 50}
@@ -352,7 +359,7 @@ rm newlib-%{newlib_version}/newlib/libc/include/stdint.h
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
%endif %endif
echo "RTEMS gcc-%{gcc_version}-7%{?dist}/newlib-%{newlib_version}-22%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE echo "RTEMS gcc-%{gcc_version}-8%{?dist}/newlib-%{newlib_version}-23%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
# Fix timestamps # Fix timestamps
@@ -622,7 +629,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
# Group: Development/Tools # Group: Development/Tools
# Version: %{gcc_rpmvers} # Version: %{gcc_rpmvers}
# Requires: rtems-4.10-mips-rtems4.10-binutils # Requires: rtems-4.10-mips-rtems4.10-binutils
# Requires: rtems-4.10-mips-rtems4.10-newlib = %{newlib_version}-22%{?dist} # Requires: rtems-4.10-mips-rtems4.10-newlib = %{newlib_version}-23%{?dist}
# License: GPL # License: GPL
# %if %build_infos # %if %build_infos
@@ -640,7 +647,7 @@ Summary: libgcc for mips-rtems4.10-gcc
Group: Development/Tools Group: Development/Tools
Version: %{gcc_rpmvers} Version: %{gcc_rpmvers}
%{?_with_noarch_subpackages:BuildArch: noarch} %{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.10-mips-rtems4.10-newlib = %{newlib_version}-22%{?dist} Requires: rtems-4.10-mips-rtems4.10-newlib = %{newlib_version}-23%{?dist}
License: GPL License: GPL
%description -n rtems-4.10-mips-rtems4.10-gcc-libgcc %description -n rtems-4.10-mips-rtems4.10-gcc-libgcc
@@ -814,7 +821,7 @@ Summary: C Library (newlib) for mips-rtems4.10
Group: Development/Tools Group: Development/Tools
License: Distributable License: Distributable
Version: %{newlib_version} Version: %{newlib_version}
Release: 22%{?dist} Release: 23%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch} %{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.10-newlib-common Requires: rtems-4.10-newlib-common
@@ -835,7 +842,7 @@ Newlib C Library for mips-rtems4.10.
Summary: Base package for RTEMS newlib C Library Summary: Base package for RTEMS newlib C Library
Group: Development/Tools Group: Development/Tools
Version: %{newlib_version} Version: %{newlib_version}
Release: 22%{?dist} Release: 23%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch} %{?_with_noarch_subpackages:BuildArch: noarch}
License: Distributable License: Distributable

View File

@@ -58,7 +58,7 @@ Summary: powerpc-rtems4.10 gcc
Group: Development/Tools Group: Development/Tools
Version: %{gcc_rpmvers} Version: %{gcc_rpmvers}
Release: 7%{?dist} Release: 8%{?dist}
License: GPL License: GPL
URL: http://gcc.gnu.org URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -245,7 +245,7 @@ BuildRequires: rtems-4.10-powerpc-rtems4.10-binutils
Requires: rtems-4.10-gcc-common Requires: rtems-4.10-gcc-common
Requires: rtems-4.10-powerpc-rtems4.10-binutils Requires: rtems-4.10-powerpc-rtems4.10-binutils
Requires: rtems-4.10-powerpc-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release} Requires: rtems-4.10-powerpc-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
Requires: rtems-4.10-powerpc-rtems4.10-newlib = %{newlib_version}-22%{?dist} Requires: rtems-4.10-powerpc-rtems4.10-newlib = %{newlib_version}-23%{?dist}
%if "%{gcc_version}" >= "4.5.0" %if "%{gcc_version}" >= "4.5.0"
BuildRequires: zlib-devel BuildRequires: zlib-devel
@@ -261,16 +261,23 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2 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.5-rtems4.10-20110301.diff Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.5-rtems4.10-20110301.diff
%endif %endif
%if "%{gcc_version}" == "4.4.6"
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.6-rtems4.10-20110418.diff
%endif
%{?_without_sources:NoSource: 0} %{?_without_sources:NoSource: 0}
%if "%{gcc_version}" == "4.4.5" %if "%{gcc_version}" == "4.4.5"
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2 Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
%endif %endif
%if "%{gcc_version}" == "4.4.6"
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
%endif
%{?_without_sources:NoSource: 1} %{?_without_sources:NoSource: 1}
%if "%{newlib_version}" == "1.18.0" %if "%{newlib_version}" == "1.18.0"
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20110114.diff Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20110419.diff
%endif %endif
%{?_without_sources:NoSource: 50} %{?_without_sources:NoSource: 50}
@@ -352,7 +359,7 @@ rm newlib-%{newlib_version}/newlib/libc/include/stdint.h
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
%endif %endif
echo "RTEMS gcc-%{gcc_version}-7%{?dist}/newlib-%{newlib_version}-22%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE echo "RTEMS gcc-%{gcc_version}-8%{?dist}/newlib-%{newlib_version}-23%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
# Fix timestamps # Fix timestamps
@@ -622,7 +629,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
# Group: Development/Tools # Group: Development/Tools
# Version: %{gcc_rpmvers} # Version: %{gcc_rpmvers}
# Requires: rtems-4.10-powerpc-rtems4.10-binutils # Requires: rtems-4.10-powerpc-rtems4.10-binutils
# Requires: rtems-4.10-powerpc-rtems4.10-newlib = %{newlib_version}-22%{?dist} # Requires: rtems-4.10-powerpc-rtems4.10-newlib = %{newlib_version}-23%{?dist}
# License: GPL # License: GPL
# %if %build_infos # %if %build_infos
@@ -640,7 +647,7 @@ Summary: libgcc for powerpc-rtems4.10-gcc
Group: Development/Tools Group: Development/Tools
Version: %{gcc_rpmvers} Version: %{gcc_rpmvers}
%{?_with_noarch_subpackages:BuildArch: noarch} %{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.10-powerpc-rtems4.10-newlib = %{newlib_version}-22%{?dist} Requires: rtems-4.10-powerpc-rtems4.10-newlib = %{newlib_version}-23%{?dist}
License: GPL License: GPL
%description -n rtems-4.10-powerpc-rtems4.10-gcc-libgcc %description -n rtems-4.10-powerpc-rtems4.10-gcc-libgcc
@@ -814,7 +821,7 @@ Summary: C Library (newlib) for powerpc-rtems4.10
Group: Development/Tools Group: Development/Tools
License: Distributable License: Distributable
Version: %{newlib_version} Version: %{newlib_version}
Release: 22%{?dist} Release: 23%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch} %{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.10-newlib-common Requires: rtems-4.10-newlib-common
@@ -835,7 +842,7 @@ Newlib C Library for powerpc-rtems4.10.
Summary: Base package for RTEMS newlib C Library Summary: Base package for RTEMS newlib C Library
Group: Development/Tools Group: Development/Tools
Version: %{newlib_version} Version: %{newlib_version}
Release: 22%{?dist} Release: 23%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch} %{?_with_noarch_subpackages:BuildArch: noarch}
License: Distributable License: Distributable

View File

@@ -58,7 +58,7 @@ Summary: sh-rtems4.10 gcc
Group: Development/Tools Group: Development/Tools
Version: %{gcc_rpmvers} Version: %{gcc_rpmvers}
Release: 7%{?dist} Release: 8%{?dist}
License: GPL License: GPL
URL: http://gcc.gnu.org URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -245,7 +245,7 @@ BuildRequires: rtems-4.10-sh-rtems4.10-binutils
Requires: rtems-4.10-gcc-common Requires: rtems-4.10-gcc-common
Requires: rtems-4.10-sh-rtems4.10-binutils Requires: rtems-4.10-sh-rtems4.10-binutils
Requires: rtems-4.10-sh-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release} Requires: rtems-4.10-sh-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
Requires: rtems-4.10-sh-rtems4.10-newlib = %{newlib_version}-22%{?dist} Requires: rtems-4.10-sh-rtems4.10-newlib = %{newlib_version}-23%{?dist}
%if "%{gcc_version}" >= "4.5.0" %if "%{gcc_version}" >= "4.5.0"
BuildRequires: zlib-devel BuildRequires: zlib-devel
@@ -261,16 +261,23 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2 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.5-rtems4.10-20110301.diff Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.5-rtems4.10-20110301.diff
%endif %endif
%if "%{gcc_version}" == "4.4.6"
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.6-rtems4.10-20110418.diff
%endif
%{?_without_sources:NoSource: 0} %{?_without_sources:NoSource: 0}
%if "%{gcc_version}" == "4.4.5" %if "%{gcc_version}" == "4.4.5"
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2 Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
%endif %endif
%if "%{gcc_version}" == "4.4.6"
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
%endif
%{?_without_sources:NoSource: 1} %{?_without_sources:NoSource: 1}
%if "%{newlib_version}" == "1.18.0" %if "%{newlib_version}" == "1.18.0"
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20110114.diff Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20110419.diff
%endif %endif
%{?_without_sources:NoSource: 50} %{?_without_sources:NoSource: 50}
@@ -352,7 +359,7 @@ rm newlib-%{newlib_version}/newlib/libc/include/stdint.h
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
%endif %endif
echo "RTEMS gcc-%{gcc_version}-7%{?dist}/newlib-%{newlib_version}-22%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE echo "RTEMS gcc-%{gcc_version}-8%{?dist}/newlib-%{newlib_version}-23%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
# Fix timestamps # Fix timestamps
@@ -622,7 +629,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
# Group: Development/Tools # Group: Development/Tools
# Version: %{gcc_rpmvers} # Version: %{gcc_rpmvers}
# Requires: rtems-4.10-sh-rtems4.10-binutils # Requires: rtems-4.10-sh-rtems4.10-binutils
# Requires: rtems-4.10-sh-rtems4.10-newlib = %{newlib_version}-22%{?dist} # Requires: rtems-4.10-sh-rtems4.10-newlib = %{newlib_version}-23%{?dist}
# License: GPL # License: GPL
# %if %build_infos # %if %build_infos
@@ -640,7 +647,7 @@ Summary: libgcc for sh-rtems4.10-gcc
Group: Development/Tools Group: Development/Tools
Version: %{gcc_rpmvers} Version: %{gcc_rpmvers}
%{?_with_noarch_subpackages:BuildArch: noarch} %{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.10-sh-rtems4.10-newlib = %{newlib_version}-22%{?dist} Requires: rtems-4.10-sh-rtems4.10-newlib = %{newlib_version}-23%{?dist}
License: GPL License: GPL
%description -n rtems-4.10-sh-rtems4.10-gcc-libgcc %description -n rtems-4.10-sh-rtems4.10-gcc-libgcc
@@ -814,7 +821,7 @@ Summary: C Library (newlib) for sh-rtems4.10
Group: Development/Tools Group: Development/Tools
License: Distributable License: Distributable
Version: %{newlib_version} Version: %{newlib_version}
Release: 22%{?dist} Release: 23%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch} %{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.10-newlib-common Requires: rtems-4.10-newlib-common
@@ -835,7 +842,7 @@ Newlib C Library for sh-rtems4.10.
Summary: Base package for RTEMS newlib C Library Summary: Base package for RTEMS newlib C Library
Group: Development/Tools Group: Development/Tools
Version: %{newlib_version} Version: %{newlib_version}
Release: 22%{?dist} Release: 23%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch} %{?_with_noarch_subpackages:BuildArch: noarch}
License: Distributable License: Distributable

View File

@@ -58,7 +58,7 @@ Summary: sparc-rtems4.10 gcc
Group: Development/Tools Group: Development/Tools
Version: %{gcc_rpmvers} Version: %{gcc_rpmvers}
Release: 7%{?dist} Release: 8%{?dist}
License: GPL License: GPL
URL: http://gcc.gnu.org URL: http://gcc.gnu.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -245,7 +245,7 @@ BuildRequires: rtems-4.10-sparc-rtems4.10-binutils
Requires: rtems-4.10-gcc-common Requires: rtems-4.10-gcc-common
Requires: rtems-4.10-sparc-rtems4.10-binutils Requires: rtems-4.10-sparc-rtems4.10-binutils
Requires: rtems-4.10-sparc-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release} Requires: rtems-4.10-sparc-rtems4.10-gcc-libgcc = %{gcc_rpmvers}-%{release}
Requires: rtems-4.10-sparc-rtems4.10-newlib = %{newlib_version}-22%{?dist} Requires: rtems-4.10-sparc-rtems4.10-newlib = %{newlib_version}-23%{?dist}
%if "%{gcc_version}" >= "4.5.0" %if "%{gcc_version}" >= "4.5.0"
BuildRequires: zlib-devel BuildRequires: zlib-devel
@@ -261,16 +261,23 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2 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.5-rtems4.10-20110301.diff Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.4.5-rtems4.10-20110301.diff
%endif %endif
%if "%{gcc_version}" == "4.4.6"
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.6-rtems4.10-20110418.diff
%endif
%{?_without_sources:NoSource: 0} %{?_without_sources:NoSource: 0}
%if "%{gcc_version}" == "4.4.5" %if "%{gcc_version}" == "4.4.5"
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2 Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
%endif %endif
%if "%{gcc_version}" == "4.4.6"
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
%endif
%{?_without_sources:NoSource: 1} %{?_without_sources:NoSource: 1}
%if "%{newlib_version}" == "1.18.0" %if "%{newlib_version}" == "1.18.0"
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20110114.diff Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.18.0-rtems4.10-20110419.diff
%endif %endif
%{?_without_sources:NoSource: 50} %{?_without_sources:NoSource: 50}
@@ -352,7 +359,7 @@ rm newlib-%{newlib_version}/newlib/libc/include/stdint.h
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
%endif %endif
echo "RTEMS gcc-%{gcc_version}-7%{?dist}/newlib-%{newlib_version}-22%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE echo "RTEMS gcc-%{gcc_version}-8%{?dist}/newlib-%{newlib_version}-23%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
# Fix timestamps # Fix timestamps
@@ -622,7 +629,7 @@ sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
# Group: Development/Tools # Group: Development/Tools
# Version: %{gcc_rpmvers} # Version: %{gcc_rpmvers}
# Requires: rtems-4.10-sparc-rtems4.10-binutils # Requires: rtems-4.10-sparc-rtems4.10-binutils
# Requires: rtems-4.10-sparc-rtems4.10-newlib = %{newlib_version}-22%{?dist} # Requires: rtems-4.10-sparc-rtems4.10-newlib = %{newlib_version}-23%{?dist}
# License: GPL # License: GPL
# %if %build_infos # %if %build_infos
@@ -640,7 +647,7 @@ Summary: libgcc for sparc-rtems4.10-gcc
Group: Development/Tools Group: Development/Tools
Version: %{gcc_rpmvers} Version: %{gcc_rpmvers}
%{?_with_noarch_subpackages:BuildArch: noarch} %{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.10-sparc-rtems4.10-newlib = %{newlib_version}-22%{?dist} Requires: rtems-4.10-sparc-rtems4.10-newlib = %{newlib_version}-23%{?dist}
License: GPL License: GPL
%description -n rtems-4.10-sparc-rtems4.10-gcc-libgcc %description -n rtems-4.10-sparc-rtems4.10-gcc-libgcc
@@ -814,7 +821,7 @@ Summary: C Library (newlib) for sparc-rtems4.10
Group: Development/Tools Group: Development/Tools
License: Distributable License: Distributable
Version: %{newlib_version} Version: %{newlib_version}
Release: 22%{?dist} Release: 23%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch} %{?_with_noarch_subpackages:BuildArch: noarch}
Requires: rtems-4.10-newlib-common Requires: rtems-4.10-newlib-common
@@ -835,7 +842,7 @@ Newlib C Library for sparc-rtems4.10.
Summary: Base package for RTEMS newlib C Library Summary: Base package for RTEMS newlib C Library
Group: Development/Tools Group: Development/Tools
Version: %{newlib_version} Version: %{newlib_version}
Release: 22%{?dist} Release: 23%{?dist}
%{?_with_noarch_subpackages:BuildArch: noarch} %{?_with_noarch_subpackages:BuildArch: noarch}
License: Distributable License: Distributable