diff -r 4006c74cc96c -r 3e2a08d916c6 lsof/lsof.spec
--- a/lsof/lsof.spec Fri Aug 03 16:45:20 2012 +0200
+++ b/lsof/lsof.spec Fri Aug 03 16:49:08 2012 +0200
@@ -1,6 +1,6 @@
##
## lsof.spec -- OpenPKG RPM Package Specification
-## Copyright (c) 2000-2008 OpenPKG Foundation e.V.
+## Copyright (c) 2000-2012 OpenPKG Foundation e.V.
##
## Permission to use, copy, modify, and distribute this software for
## any purpose with or without fee is hereby granted, provided that
@@ -31,20 +31,16 @@
Class: BASE
Group: Debugging
License: BSD
-Version: 4.82
-Release: 20090401
+Version: 4.86
+Release: 20120603
# list of sources
Source0: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_%{version}.tar.gz
Patch0: lsof.patch
# build information
-Prefix: %{l_prefix}
-BuildRoot: %{l_buildroot}
-BuildPreReq: OpenPKG, openpkg >= 20040130, make, gcc
-PreReq: OpenPKG, openpkg >= 20040130
-AutoReq: no
-AutoReqProv: no
+BuildPreReq: OpenPKG, openpkg >= 20100101, gcc
+PreReq: OpenPKG, openpkg >= 20100101
%description
List Open Files (lsof) shows all currently open file descriptors of
@@ -67,7 +63,7 @@
cd lsof_%{version}_src
export PATH="/bin:/usr/bin:$PATH"
export LSOF_CC="%{l_cc}"
- export LSOF_MAKE="%{l_make} %{l_mflags -O}"
+ export LSOF_MAKE="%{l_make} %{l_mflags}"
case "%{l_platform -t}" in
*-freebsd* ) platform="freebsd"; LSOF_CC="/usr/bin/cc"; LSOF_MAKE="/usr/bin/make" ;;
*-linux* ) platform="linux" ;;
@@ -81,7 +77,6 @@
eval $LSOF_MAKE
%install
- rm -rf $RPM_BUILD_ROOT
%{l_shtool} mkdir -f -p -m 755 $RPM_BUILD_ROOT%{l_prefix}/bin
%{l_shtool} mkdir -f -p -m 755 $RPM_BUILD_ROOT%{l_prefix}/man/man8
( cd lsof_%{version}_src
@@ -105,5 +100,4 @@
%files -f files
%clean
- rm -rf $RPM_BUILD_ROOT