fix selinux bug

This commit is contained in:
kzak 2006-06-12 16:18:15 +00:00
parent d5d16f2dbc
commit c9677ba85f

View File

@ -1,7 +1,7 @@
Summary: A utility which lists open files on a Linux/UNIX system.
Name: lsof
Version: 4.78
Release: 06052006devel.1
Release: 06052006devel.2
License: Free
%define lsofrh lsof_4.78B-rh
Group: Development/Debuggers
@ -9,6 +9,11 @@ Source0: %{lsofrh}.tar.bz2
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-root
BuildRequires: libselinux-devel
# 194864 - lsof segfaults on starting
Patch0: lsof_4.78B-rh-selinux.patch
%description
Lsof stands for LiSt Open Files, and it does just that: it lists
information about files that are open by the processes running on a
@ -16,6 +21,7 @@ UNIX system.
%prep
%setup -q -n %{lsofrh}
%patch0 -p1
%build
LSOF_VSTR=2.6.16 LINUX_BASE=/proc ./Configure -n linux
@ -39,6 +45,10 @@ rm -rf ${RPM_BUILD_ROOT}
%{_mandir}/man*/*
%changelog
* Mon Jun 12 2006 Karel Zak <kzak@redhat.com> 4.78-06052006devel.2
- added BuildRequires libselinux-devel
- fix #194864 - lsof segfaults on starting
* Wed May 24 2006 Karel Zak <kzak@redhat.com> 4.78-06052006devel.1
- upgrade to 4.78B (upstream devel version with selinux patch)