- minor changes in spec file (#226108 - Merge Review)

This commit is contained in:
kzak 2010-02-19 13:05:53 +00:00
parent d8adf26086
commit f428764912
2 changed files with 10 additions and 5 deletions

View File

@ -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 <kzak@redhat.com> 4.83-2
- minor changes in spec file (#226108 - Merge Review)
* Thu Feb 11 2010 Karel Zak <kzak@redhat.com> 4.83-1
- upgrade to 4.83 (see the 00DIST file for list of changes)
- remove lsof_4.83A-selinux-typo.patch (fixed upstream)

View File

@ -6,6 +6,8 @@
#
# Usage: ./upstream2downstream <usptream-tarball>
#
# This code is in the public domain; do with it what you wish.
#
# Copyright (C) 2007 Karel Zak <kzak@redhat.com>
#