source: rtems/contrib/crossrpms/gcc/prep.add @ 615b6c9

4.104.114.84.95
Last change on this file since 615b6c9 was 615b6c9, checked in by Ralf Corsepius <ralf.corsepius@…>, on Nov 9, 2006 at 2:28:50 PM

Introduce GCC_PKGVERS

  • Property mode set to 100644
File size: 871 bytes
RevLine 
[c7cc52a]1%prep
2%setup -c -T -n %{name}-%{version}
3
4%setup -q -T -D -n %{name}-%{version} -a0
5%{?PATCH0:%patch0 -p0}
6
7%if %build_cxx
8%setup -q -T -D -n %{name}-%{version} -a1
9%{?PATCH1:%patch1 -p0}
10%endif
11
12%if %build_f95
13%setup -q -T -D -n %{name}-%{version} -a2
14%{?PATCH2:%patch2 -p0}
15%endif
16
17%if %build_gcj
18%setup -q -T -D -n %{name}-%{version} -a3
19%{?PATCH3:%patch3 -p0}
20%endif
21
22%if %build_gnat
23%setup -q -T -D -n %{name}-%{version} -a4
24%{?PATCH4:%patch4 -p0}
25%endif
26
27%if %build_objc
28%setup -T -D -n %{name}-%{version} -a5
29%{?PATCH5:%patch5 -p0}
30%endif
31
32%if %build_newlib
33%setup -q -T -D -n %{name}-%{version} -a50
34cd newlib-%{newlib_version}
35%{?PATCH50:%patch50 -p1}
36cd ..
37  # Copy the C library into gcc's source tree
[615b6c9]38  ln -s ../newlib-%{newlib_version}/newlib gcc-%{gcc_pkgvers}
[c7cc52a]39%endif
40
[06fb9c3]41@PREP@
[c7cc52a]42
43  # Fix timestamps
[615b6c9]44  cd gcc-%{gcc_pkgvers}
[e25d8c9]45  contrib/gcc_update --touch
46  cd ..
Note: See TracBrowser for help on using the repository browser.