netperf/netperf.spec

changeset 584
3d058537a9dd
parent 312
c71ec3f2c0da
child 702
005f3015911e
     1.1 --- a/netperf/netperf.spec	Tue Aug 28 18:37:20 2012 +0200
     1.2 +++ b/netperf/netperf.spec	Tue Aug 28 18:37:35 2012 +0200
     1.3 @@ -1,6 +1,6 @@
     1.4  ##
     1.5  ##  netperf.spec -- OpenPKG RPM Package Specification
     1.6 -##  Copyright (c) 2011 Michael Schloh von Bennewitz <michael@schloh.com>
     1.7 +##  Copyright (c) 2012 Michael Schloh von Bennewitz <michael@schloh.com>
     1.8  ##
     1.9  ##  Permission to use, copy, modify, and distribute this software for
    1.10  ##  any purpose with or without fee is hereby granted, provided that
    1.11 @@ -31,20 +31,16 @@
    1.12  Class:        EVAL
    1.13  Group:        Network
    1.14  License:      Commercial
    1.15 -Version:      2.4.5
    1.16 -Release:      20110302
    1.17 +Version:      2.6.0
    1.18 +Release:      20120800
    1.19  
    1.20  #   list of sources
    1.21  Source0:      ftp://ftp.netperf.org/netperf/netperf-%{version}.tar.bz2
    1.22  Patch0:       netperf.patch
    1.23  
    1.24  #   build information
    1.25 -Prefix:       %{l_prefix}
    1.26 -BuildRoot:    %{l_buildroot}
    1.27 -BuildPreReq:  OpenPKG, openpkg >= 20040130
    1.28 -PreReq:       OpenPKG, openpkg >= 20040130
    1.29 -AutoReq:      no
    1.30 -AutoReqProv:  no
    1.31 +BuildPreReq:  OpenPKG, openpkg >= 20100101, make
    1.32 +PreReq:       OpenPKG, openpkg >= 20100101
    1.33  
    1.34  %description
    1.35      Netperf is a benchmark that can be used to measure the performance
    1.36 @@ -78,7 +74,6 @@
    1.37      %{l_make} %{l_mflags -O}
    1.38  
    1.39  %install
    1.40 -    rm -rf $RPM_BUILD_ROOT
    1.41      %{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT
    1.42      strip $RPM_BUILD_ROOT%{l_prefix}/bin/*
    1.43      %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
    1.44 @@ -86,5 +81,4 @@
    1.45  %files -f files
    1.46  
    1.47  %clean
    1.48 -    rm -rf $RPM_BUILD_ROOT
    1.49  

mercurial