snmp/snmp.spec

changeset 589
6db023bc5512
parent 588
300d43423c2e
child 636
17d7a4451299
     1.1 --- a/snmp/snmp.spec	Wed Feb 08 20:07:00 2012 +0200
     1.2 +++ b/snmp/snmp.spec	Tue Aug 28 18:46:00 2012 +0200
     1.3 @@ -32,7 +32,7 @@
     1.4  Group:        Network
     1.5  License:      BSD
     1.6  Version:      5.7.1
     1.7 -Release:      20120208
     1.8 +Release:      20120800
     1.9  
    1.10  #   package options
    1.11  %option       with_fsl          yes
    1.12 @@ -54,10 +54,8 @@
    1.13  Patch2:       snmp_iface.patch
    1.14  
    1.15  #   build information
    1.16 -Prefix:       %{l_prefix}
    1.17 -BuildRoot:    %{l_buildroot}
    1.18 -BuildPreReq:  OpenPKG, openpkg >= 20060823, gcc
    1.19 -PreReq:       OpenPKG, openpkg >= 20060823
    1.20 +BuildPreReq:  OpenPKG, openpkg >= 20100101, gcc
    1.21 +PreReq:       OpenPKG, openpkg >= 20100101
    1.22  BuildPreReq:  openssl
    1.23  PreReq:       openssl
    1.24  %if "%{with_fsl}" == "yes"
    1.25 @@ -68,8 +66,6 @@
    1.26  BuildPreReq:  perl
    1.27  PreReq:       perl
    1.28  %endif
    1.29 -AutoReq:      no
    1.30 -AutoReqProv:  no
    1.31  
    1.32  %description
    1.33      This is a toolkit relating to the Simple Network Management Protocol
    1.34 @@ -177,8 +173,6 @@
    1.35      %{l_make} %{l_mflags}
    1.36  
    1.37  %install
    1.38 -    rm -rf $RPM_BUILD_ROOT
    1.39 -
    1.40      #   install package
    1.41      %{l_shtool} subst -v \
    1.42          -e "s;^\\(prefix.*=\\).*;\\1 $RPM_BUILD_ROOT%{l_prefix};g" \
    1.43 @@ -231,7 +225,6 @@
    1.44  %files -f files
    1.45  
    1.46  %clean
    1.47 -    rm -rf $RPM_BUILD_ROOT
    1.48  
    1.49  %post
    1.50      #   after upgrade, restart service

mercurial