diff -r 300d43423c2e -r 6db023bc5512 snmp/snmp.spec --- a/snmp/snmp.spec Wed Feb 08 20:07:00 2012 +0200 +++ b/snmp/snmp.spec Tue Aug 28 18:46:00 2012 +0200 @@ -32,7 +32,7 @@ Group: Network License: BSD Version: 5.7.1 -Release: 20120208 +Release: 20120800 # package options %option with_fsl yes @@ -54,10 +54,8 @@ Patch2: snmp_iface.patch # build information -Prefix: %{l_prefix} -BuildRoot: %{l_buildroot} -BuildPreReq: OpenPKG, openpkg >= 20060823, gcc -PreReq: OpenPKG, openpkg >= 20060823 +BuildPreReq: OpenPKG, openpkg >= 20100101, gcc +PreReq: OpenPKG, openpkg >= 20100101 BuildPreReq: openssl PreReq: openssl %if "%{with_fsl}" == "yes" @@ -68,8 +66,6 @@ BuildPreReq: perl PreReq: perl %endif -AutoReq: no -AutoReqProv: no %description This is a toolkit relating to the Simple Network Management Protocol @@ -177,8 +173,6 @@ %{l_make} %{l_mflags} %install - rm -rf $RPM_BUILD_ROOT - # install package %{l_shtool} subst -v \ -e "s;^\\(prefix.*=\\).*;\\1 $RPM_BUILD_ROOT%{l_prefix};g" \ @@ -231,7 +225,6 @@ %files -f files %clean - rm -rf $RPM_BUILD_ROOT %post # after upgrade, restart service