forked from Imagelibrary/rtems
45 lines
1.5 KiB
Plaintext
45 lines
1.5 KiB
Plaintext
%if "%{gcc_version}" == "4.5.2"
|
|
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.2-rtems4.11-20101216.diff
|
|
%endif
|
|
%{?_without_sources:NoSource: 0}
|
|
|
|
%if %build_cxx
|
|
%if "%{gcc_version}" == "4.5.2"
|
|
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
|
%endif
|
|
%{?_without_sources:NoSource: 1}
|
|
|
|
%endif
|
|
%if %build_fortran
|
|
Source2: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-fortran-%{gcc_pkgvers}.tar.bz2
|
|
%{?_without_sources:NoSource: 2}
|
|
|
|
%endif
|
|
%if %build_gcj
|
|
Source3: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-java-%{gcc_pkgvers}.tar.bz2
|
|
%{?_without_sources:NoSource: 3}
|
|
|
|
%endif
|
|
%if %build_gnat
|
|
Source4: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-ada-%{gcc_pkgvers}.tar.bz2
|
|
%{?_without_sources:NoSource: 4}
|
|
|
|
%endif
|
|
%if %build_objc
|
|
Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-objc-%{gcc_pkgvers}.tar.bz2
|
|
%{?_without_sources:NoSource: 5}
|
|
|
|
%endif
|
|
%if %build_newlib
|
|
%if "%{newlib_version}" == "1.19.0"
|
|
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
|
|
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.19.0-rtems4.11-20110109.diff
|
|
%endif
|
|
%if "%{newlib_version}" == "1.18.0"
|
|
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz
|
|
Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.18.0-rtems4.11-20101126.diff
|
|
%endif
|
|
%{?_without_sources:NoSource: 50}
|
|
%endif
|