This commit is contained in:
kzak 2006-05-24 11:06:43 +00:00
parent 78c0158d49
commit 926c913821
4 changed files with 31 additions and 10 deletions

View File

@ -1 +1 @@
lsof_4.76-rh.tar.bz2 lsof_4.77-rh.tar.bz2

23
README.maintainer Normal file
View File

@ -0,0 +1,23 @@
Please, remove non-linux dialects from upstream source package before release.
There is problem with copyrights for some UN*Xes ... also .. you can merge all
to the one normal tarball (instead two level tarball that uses upstream) and
rename it to lsof_X.XX-rh.
tar zxvf lsof_X.XX_src.tar
mv lsof_X.XX_src lsof_X.XX-rh
mv README* 00* lsof_X.XX-rh/
cd lsof_X.XX-rh/dialects/
rm -rf <all-non-linux-dialects>
cd ../../
tar jcvf lsof_X.XX-rh.tar.bz2 lsof_X.XX-rh
lsof_X.XX-rh.tar.bz2 <-- use in the lsof.spec file

View File

@ -1,12 +1,11 @@
Summary: A utility which lists open files on a Linux/UNIX system. Summary: A utility which lists open files on a Linux/UNIX system.
Name: lsof Name: lsof
Version: 4.76 Version: 4.77
Release: 2 Release: 1
License: Free License: Free
%define lsofrh lsof_%{version}-rh %define lsofrh lsof_%{version}-rh
Group: Development/Debuggers Group: Development/Debuggers
Source0: %{lsofrh}.tar.bz2 Source0: %{lsofrh}.tar.bz2
Patch1: lsof_4.72-rh-eventpoll.patch
Prefix: %{_prefix} Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-root BuildRoot: %{_tmppath}/%{name}-root
@ -17,13 +16,9 @@ UNIX system.
%prep %prep
%setup -q -n %{lsofrh} %setup -q -n %{lsofrh}
%patch1 -p1 -b .eventpoll
%build %build
#LINUX_KERNEL=`pwd`/../linux LSOF_INCLUDE=`pwd`/../linux/include \ LSOF_VSTR=2.6.16 LINUX_BASE=/proc ./Configure -n linux
#LSOF_VERS=20036 LSOF_VSTR=2.0.36 LINUX_BASE=/dev/kmem \
LSOF_VERS=24018 LSOF_VSTR=2.4.18 LINUX_BASE=/proc \
./Configure -n linux
make DEBUG="$RPM_OPT_FLAGS" make DEBUG="$RPM_OPT_FLAGS"
@ -44,6 +39,9 @@ rm -rf ${RPM_BUILD_ROOT}
%{_mandir}/man*/* %{_mandir}/man*/*
%changelog %changelog
* Wed May 24 2006 Karel Zak <kzak@redhat.com> 4.77-2
- upgrade to 4.77
* Wed Feb 15 2006 Karel Zak <kzak@redhat.com> 4.76-2 * Wed Feb 15 2006 Karel Zak <kzak@redhat.com> 4.76-2
- fix #175568 - lsof prints 'unknown inode type' for epoll - fix #175568 - lsof prints 'unknown inode type' for epoll

View File

@ -1 +1 @@
5e0bbe817619ffc946943042215dca1c lsof_4.76-rh.tar.bz2 c6d739fc3ae30b616d585344cd5516e2 lsof_4.77-rh.tar.bz2