[fddb62c] | 1 | %if "%{gcc_version}" == "4.3.3" |
---|
[2fb65fbf] | 2 | Source0: ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2 |
---|
[fddb62c] | 3 | Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-4.3.3-rtems4.10-20090125.diff |
---|
[2fb65fbf] | 4 | %endif |
---|
[af86b82] | 5 | %if "%{gcc_version}" == "4.4.0" |
---|
| 6 | Source0: ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2 |
---|
[d41660f9] | 7 | Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gcc-core-%{gcc_pkgvers}-rtems4.10-20090415.diff |
---|
[af86b82] | 8 | %endif |
---|
[01141c5] | 9 | %{?_without_sources:NoSource: 0} |
---|
| 10 | |
---|
| 11 | %if %build_cxx |
---|
[fddb62c] | 12 | %if "%{gcc_version}" == "4.3.3" |
---|
[2fb65fbf] | 13 | Source1: ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2 |
---|
| 14 | %endif |
---|
[af86b82] | 15 | %if "%{gcc_version}" == "4.4.0" |
---|
| 16 | Source1: ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2 |
---|
| 17 | %endif |
---|
[01141c5] | 18 | %{?_without_sources:NoSource: 1} |
---|
| 19 | |
---|
| 20 | %endif |
---|
| 21 | %if %build_f95 |
---|
| 22 | Source2: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-fortran-%{gcc_pkgvers}.tar.bz2 |
---|
| 23 | %{?_without_sources:NoSource: 2} |
---|
| 24 | |
---|
| 25 | %endif |
---|
| 26 | %if %build_gcj |
---|
| 27 | Source3: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-java-%{gcc_pkgvers}.tar.bz2 |
---|
| 28 | %{?_without_sources:NoSource: 3} |
---|
| 29 | |
---|
| 30 | %endif |
---|
| 31 | %if %build_gnat |
---|
| 32 | Source4: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-ada-%{gcc_pkgvers}.tar.bz2 |
---|
| 33 | %{?_without_sources:NoSource: 4} |
---|
| 34 | |
---|
| 35 | %endif |
---|
| 36 | %if %build_objc |
---|
| 37 | Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-objc-%{gcc_pkgvers}.tar.bz2 |
---|
| 38 | %{?_without_sources:NoSource: 5} |
---|
| 39 | |
---|
| 40 | %endif |
---|
| 41 | %if %build_newlib |
---|
[c51f900b] | 42 | %if "%{newlib_version}" == "1.17.0" |
---|
[6357d742] | 43 | Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_pkgvers}.tar.gz |
---|
[cf3e180] | 44 | Patch50: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/newlib-1.17.0-rtems4.10-20090311.diff |
---|
[01141c5] | 45 | %endif |
---|
| 46 | %{?_without_sources:NoSource: 50} |
---|
| 47 | %endif |
---|