1 | %if "%{gcc_version}" == "4.6.0" |
---|
2 | Source0: ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2 |
---|
3 | Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.6.0-RC-20110321-rtems4.11-20110322.diff |
---|
4 | %endif |
---|
5 | %if "%{gcc_version}" == "4.5.2" |
---|
6 | Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2 |
---|
7 | Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.2-rtems4.11-20110220.diff |
---|
8 | %endif |
---|
9 | %{?_without_sources:NoSource: 0} |
---|
10 | |
---|
11 | %if %build_cxx |
---|
12 | %if "%{gcc_version}" == "4.6.0" |
---|
13 | Source1: ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2 |
---|
14 | %endif |
---|
15 | %if "%{gcc_version}" == "4.5.2" |
---|
16 | Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2 |
---|
17 | Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.2-rtems4.11-20110131.diff |
---|
18 | %endif |
---|
19 | %{?_without_sources:NoSource: 1} |
---|
20 | |
---|
21 | %endif |
---|
22 | %if %build_fortran |
---|
23 | Source2: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-fortran-%{gcc_pkgvers}.tar.bz2 |
---|
24 | %{?_without_sources:NoSource: 2} |
---|
25 | |
---|
26 | %endif |
---|
27 | %if %build_gcj |
---|
28 | Source3: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-java-%{gcc_pkgvers}.tar.bz2 |
---|
29 | %{?_without_sources:NoSource: 3} |
---|
30 | |
---|
31 | %endif |
---|
32 | %if %build_gnat |
---|
33 | Source4: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-ada-%{gcc_pkgvers}.tar.bz2 |
---|
34 | %{?_without_sources:NoSource: 4} |
---|
35 | |
---|
36 | %endif |
---|
37 | %if %build_objc |
---|
38 | Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-objc-%{gcc_pkgvers}.tar.bz2 |
---|
39 | %{?_without_sources:NoSource: 5} |
---|
40 | |
---|
41 | %endif |
---|
42 | %if %build_newlib |
---|
43 | %if "%{newlib_version}" == "1.19.0" |
---|
44 | Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz |
---|
45 | Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.19.0-rtems4.11-20110323.diff |
---|
46 | %endif |
---|
47 | %if "%{newlib_version}" == "1.18.0" |
---|
48 | Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz |
---|
49 | Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/newlib-1.18.0-rtems4.11-20101126.diff |
---|
50 | %endif |
---|
51 | %{?_without_sources:NoSource: 50} |
---|
52 | %endif |
---|