# HG changeset patch # User Michael Schloh von Bennewitz # Date 1300989744 -3600 # Node ID bbed90117468f8c18302c2749fb31d57f42deba1 # Parent d8a8300afdc8d5a7b7f172e26145bc5e0070cbed Backport RPM boilerplate logic required by legacy OpenPKG scripts. diff -r d8a8300afdc8 -r bbed90117468 gcc/gcc.spec --- a/gcc/gcc.spec Thu Mar 24 19:00:55 2011 +0100 +++ b/gcc/gcc.spec Thu Mar 24 19:02:24 2011 +0100 @@ -36,7 +36,7 @@ Group: Compiler License: GPL Version: %{V_full} -Release: 20101221 +Release: 20110320 # package options %option with_binutils yes @@ -58,6 +58,8 @@ Patch0: gcc.patch # build information +Prefix: %{l_prefix} +BuildRoot: %{l_buildroot} BuildPreReq: OpenPKG, openpkg >= 20100101, make PreReq: OpenPKG, openpkg >= 20100101 %if "%{with_binutils}" == "yes" @@ -74,6 +76,8 @@ BuildPreReq: zlib PreReq: zlib %endif +AutoReq: no +AutoReqProv: no %description The GNU Compiler Collection (GCC) provides standard conforming and @@ -275,6 +279,7 @@ $maketarget %install + rm -rf $RPM_BUILD_ROOT # fetch GNU platform triple triple=`./config.guess` @@ -343,4 +348,5 @@ %files -f files %clean + rm -rf $RPM_BUILD_ROOT