added patch from upstream

This commit is contained in:
Steve Grubb 2004-11-05 22:26:36 +00:00
parent 407b1fe335
commit 37dbcb478d

View File

@ -1,13 +1,14 @@
Summary: SELinux library and simple utilities
Name: libselinux
Version: 1.18.1
Release: 4
Release: 5
License: Public domain (uncopyrighted)
Group: System Environment/Libraries
Source: http://www.nsa.gov/selinux/archives/libselinux-%{version}.tgz
#Patch: libselinux-rhat.patch
Patch1: libselinux-1.18.1-cleanup.patch
Patch2: libselinux-1.17.15-permanent.patch
Patch3: libselinux-1.18.1-missing-copy.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
%description
@ -38,6 +39,7 @@ needed for developing SELinux applications.
%setup -q
%patch1 -p1 -b .cleanup
%patch2 -p1 -b .permanent
%patch3 -p1 -b .missing
%build
make CFLAGS="-g %{optflags}"
@ -88,6 +90,10 @@ rm -rf ${RPM_BUILD_ROOT}
%{_mandir}/man8/*
%changelog
* Fri Nov 5 2004 Steve Grubb <sgrubb@redhat.com> 1.18.1-5
- Add a patch from upstream. Fixes signed/unsigned issues, and
incomplete structure copy.
* Thu Nov 4 2004 Dan Walsh <dwalsh@redhat.com> 1.18.1-4
- More fixes from sgrubb, better syslog