1.1 --- a/arpd/arpd.spec Thu Oct 04 20:26:02 2012 +0200 1.2 +++ b/arpd/arpd.spec Thu Oct 04 20:30:05 2012 +0200 1.3 @@ -32,7 +32,7 @@ 1.4 Group: Mapping 1.5 License: GNU 1.6 Version: 0.2 1.7 -Release: 20080101 1.8 +Release: 20120800 1.9 1.10 # package options 1.11 %option with_fsl yes 1.12 @@ -44,16 +44,12 @@ 1.13 Patch0: arpd.patch 1.14 1.15 # build information 1.16 -Prefix: %{l_prefix} 1.17 -BuildRoot: %{l_buildroot} 1.18 -BuildPreReq: OpenPKG, openpkg >= 20060823, libdnet, libpcap, libevent, gcc, make 1.19 -PreReq: OpenPKG, openpkg >= 20060823, libdnet, libpcap, libevent 1.20 +BuildPreReq: OpenPKG, openpkg >= 20100101, libdnet, libpcap, libevent, gcc, make 1.21 +PreReq: OpenPKG, openpkg >= 20100101, libdnet, libpcap, libevent 1.22 %if "%{with_fsl}" == "yes" 1.23 BuildPreReq: fsl 1.24 PreReq: fsl 1.25 %endif 1.26 -AutoReq: no 1.27 -AutoReqProv: no 1.28 1.29 %description 1.30 Arpd is an Address Resolution Protocol (ARP) daemon which replies to 1.31 @@ -98,8 +94,6 @@ 1.32 %{l_make} %{l_mflags} 1.33 1.34 %install 1.35 - rm -rf $RPM_BUILD_ROOT 1.36 - 1.37 # create directories 1.38 %{l_shtool} mkdir -f -p -m 755 \ 1.39 $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d \ 1.40 @@ -125,7 +119,6 @@ 1.41 %files -f files 1.42 1.43 %clean 1.44 - rm -rf $RPM_BUILD_ROOT 1.45 1.46 %pre 1.47 # before upgrade, save status and stop service