lsof/lsof.spec

changeset 464
3e2a08d916c6
parent 125
06debe70afb4
child 465
6a12068a8ac8
     1.1 --- a/lsof/lsof.spec	Fri Aug 03 16:45:20 2012 +0200
     1.2 +++ b/lsof/lsof.spec	Fri Aug 03 16:49:08 2012 +0200
     1.3 @@ -1,6 +1,6 @@
     1.4  ##
     1.5  ##  lsof.spec -- OpenPKG RPM Package Specification
     1.6 -##  Copyright (c) 2000-2008 OpenPKG Foundation e.V. <http://openpkg.net/>
     1.7 +##  Copyright (c) 2000-2012 OpenPKG Foundation e.V. <http://openpkg.net/>
     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:        BASE
    1.13  Group:        Debugging
    1.14  License:      BSD
    1.15 -Version:      4.82
    1.16 -Release:      20090401
    1.17 +Version:      4.86
    1.18 +Release:      20120603
    1.19  
    1.20  #   list of sources
    1.21  Source0:      ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_%{version}.tar.gz
    1.22  Patch0:       lsof.patch
    1.23  
    1.24  #   build information
    1.25 -Prefix:       %{l_prefix}
    1.26 -BuildRoot:    %{l_buildroot}
    1.27 -BuildPreReq:  OpenPKG, openpkg >= 20040130, make, gcc
    1.28 -PreReq:       OpenPKG, openpkg >= 20040130
    1.29 -AutoReq:      no
    1.30 -AutoReqProv:  no
    1.31 +BuildPreReq:  OpenPKG, openpkg >= 20100101, gcc
    1.32 +PreReq:       OpenPKG, openpkg >= 20100101
    1.33  
    1.34  %description
    1.35      List Open Files (lsof) shows all currently open file descriptors of
    1.36 @@ -67,7 +63,7 @@
    1.37      cd lsof_%{version}_src
    1.38      export PATH="/bin:/usr/bin:$PATH"
    1.39      export LSOF_CC="%{l_cc}"
    1.40 -    export LSOF_MAKE="%{l_make} %{l_mflags -O}"
    1.41 +    export LSOF_MAKE="%{l_make} %{l_mflags}"
    1.42      case "%{l_platform -t}" in
    1.43          *-freebsd* ) platform="freebsd"; LSOF_CC="/usr/bin/cc"; LSOF_MAKE="/usr/bin/make" ;;
    1.44          *-linux*   ) platform="linux"   ;;
    1.45 @@ -81,7 +77,6 @@
    1.46      eval $LSOF_MAKE
    1.47  
    1.48  %install
    1.49 -    rm -rf $RPM_BUILD_ROOT
    1.50      %{l_shtool} mkdir -f -p -m 755 $RPM_BUILD_ROOT%{l_prefix}/bin
    1.51      %{l_shtool} mkdir -f -p -m 755 $RPM_BUILD_ROOT%{l_prefix}/man/man8
    1.52      ( cd lsof_%{version}_src
    1.53 @@ -105,5 +100,4 @@
    1.54  %files -f files
    1.55  
    1.56  %clean
    1.57 -    rm -rf $RPM_BUILD_ROOT
    1.58  

mercurial