diff --git a/lsof.spec b/lsof.spec index 7872a9f..fc98c92 100644 --- a/lsof.spec +++ b/lsof.spec @@ -1,7 +1,7 @@ Summary: A utility which lists open files on a Linux/UNIX system Name: lsof Version: 4.83 -Release: 1%{?dist} +Release: 2%{?dist} License: zlib Group: Development/Debuggers @@ -20,7 +20,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libselinux-devel # 184338 - allow lsof access nptl threads -Patch1: lsof_4.81-threads.patch +Patch0: lsof_4.81-threads.patch %description Lsof stands for LiSt Open Files, and it does just that: it lists @@ -29,7 +29,7 @@ UNIX system. %prep %setup -q -n %{lsofrh} -%patch1 -p1 +%patch0 -p1 %build LSOF_VSTR=2.6.16 LINUX_BASE=/proc ./Configure -n linux @@ -47,12 +47,15 @@ install -p lsof.8 ${RPM_BUILD_ROOT}%{_mandir}/man8/ rm -rf ${RPM_BUILD_ROOT} %files -%defattr(644,root,root,755) +%defattr(-,root,root,-) %doc 00* -%attr(0755,root,root) %{_sbindir}/lsof +%{_sbindir}/lsof %{_mandir}/man*/* %changelog +* Fri Feb 19 2010 Karel Zak 4.83-2 +- minor changes in spec file (#226108 - Merge Review) + * Thu Feb 11 2010 Karel Zak 4.83-1 - upgrade to 4.83 (see the 00DIST file for list of changes) - remove lsof_4.83A-selinux-typo.patch (fixed upstream) diff --git a/upstream2downstream.sh b/upstream2downstream.sh index 16d3746..24cc993 100755 --- a/upstream2downstream.sh +++ b/upstream2downstream.sh @@ -5,6 +5,8 @@ # script merges all to the one normal tarball and rename all to lsof_X.XX-rh. # # Usage: ./upstream2downstream +# +# This code is in the public domain; do with it what you wish. # # Copyright (C) 2007 Karel Zak #