Thu, 24 Mar 2011 19:02:24 +0100
Backport RPM boilerplate logic required by legacy OpenPKG scripts.
gcc/gcc.spec | file | annotate | diff | comparison | revisions |
1.1 --- a/gcc/gcc.spec Thu Mar 24 19:00:55 2011 +0100 1.2 +++ b/gcc/gcc.spec Thu Mar 24 19:02:24 2011 +0100 1.3 @@ -36,7 +36,7 @@ 1.4 Group: Compiler 1.5 License: GPL 1.6 Version: %{V_full} 1.7 -Release: 20101221 1.8 +Release: 20110320 1.9 1.10 # package options 1.11 %option with_binutils yes 1.12 @@ -58,6 +58,8 @@ 1.13 Patch0: gcc.patch 1.14 1.15 # build information 1.16 +Prefix: %{l_prefix} 1.17 +BuildRoot: %{l_buildroot} 1.18 BuildPreReq: OpenPKG, openpkg >= 20100101, make 1.19 PreReq: OpenPKG, openpkg >= 20100101 1.20 %if "%{with_binutils}" == "yes" 1.21 @@ -74,6 +76,8 @@ 1.22 BuildPreReq: zlib 1.23 PreReq: zlib 1.24 %endif 1.25 +AutoReq: no 1.26 +AutoReqProv: no 1.27 1.28 %description 1.29 The GNU Compiler Collection (GCC) provides standard conforming and 1.30 @@ -275,6 +279,7 @@ 1.31 $maketarget 1.32 1.33 %install 1.34 + rm -rf $RPM_BUILD_ROOT 1.35 1.36 # fetch GNU platform triple 1.37 triple=`./config.guess` 1.38 @@ -343,4 +348,5 @@ 1.39 %files -f files 1.40 1.41 %clean 1.42 + rm -rf $RPM_BUILD_ROOT 1.43