- Add selinux_getenforce() calls to work when not in enforcing mode
This commit is contained in:
parent
c0e113ed14
commit
8a479531db
@ -5,7 +5,7 @@ BuildRequires: libselinux-devel
|
|||||||
Summary: Rotates, compresses, removes and mails system log files.
|
Summary: Rotates, compresses, removes and mails system log files.
|
||||||
Name: logrotate
|
Name: logrotate
|
||||||
Version: 3.7.1
|
Version: 3.7.1
|
||||||
Release: 8
|
Release: 9
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
Source: logrotate-%{PACKAGE_VERSION}.tar.gz
|
Source: logrotate-%{PACKAGE_VERSION}.tar.gz
|
||||||
@ -13,6 +13,7 @@ Source: logrotate-%{PACKAGE_VERSION}.tar.gz
|
|||||||
Patch1: logrotate-3.7.1-man.patch
|
Patch1: logrotate-3.7.1-man.patch
|
||||||
Patch2: logrotate-3.7.1-conf.patch
|
Patch2: logrotate-3.7.1-conf.patch
|
||||||
Patch3: logrotate-3.7.1-noTMPDIR.patch
|
Patch3: logrotate-3.7.1-noTMPDIR.patch
|
||||||
|
Patch4: logrotate-3.7.1-selinux.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}.root
|
BuildRoot: %{_tmppath}/%{name}-%{version}.root
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -32,6 +33,7 @@ log files on your system.
|
|||||||
%patch1 -p1 -b .orig
|
%patch1 -p1 -b .orig
|
||||||
%patch2 -p1 -b .conf
|
%patch2 -p1 -b .conf
|
||||||
%patch3 -p1 -b .noTMPDIR
|
%patch3 -p1 -b .noTMPDIR
|
||||||
|
%patch4 -p1 -b .selinux
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS -g" \
|
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS -g" \
|
||||||
@ -64,6 +66,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%attr(0644, root, root) %verify(not size md5 mtime) %config(noreplace) /var/lib/logrotate.status
|
%attr(0644, root, root) %verify(not size md5 mtime) %config(noreplace) /var/lib/logrotate.status
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Mar 17 2005 Dan Walsh <dwalsh@redhat.com> 3.7.1-9
|
||||||
|
- Add selinux_getenforce() calls to work when not in enforcing mode
|
||||||
|
|
||||||
* Thu Mar 17 2005 Peter Vrabec <pvrabec@redhat.com> 3.7.1-8
|
* Thu Mar 17 2005 Peter Vrabec <pvrabec@redhat.com> 3.7.1-8
|
||||||
- rebuild
|
- rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user