From 8a479531db177f3353f963b8f9a124214a7a17f6 Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Thu, 17 Mar 2005 22:39:50 +0000 Subject: [PATCH] - Add selinux_getenforce() calls to work when not in enforcing mode --- logrotate.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/logrotate.spec b/logrotate.spec index dfade2c..9567a87 100644 --- a/logrotate.spec +++ b/logrotate.spec @@ -5,7 +5,7 @@ BuildRequires: libselinux-devel Summary: Rotates, compresses, removes and mails system log files. Name: logrotate Version: 3.7.1 -Release: 8 +Release: 9 License: GPL Group: System Environment/Base Source: logrotate-%{PACKAGE_VERSION}.tar.gz @@ -13,6 +13,7 @@ Source: logrotate-%{PACKAGE_VERSION}.tar.gz Patch1: logrotate-3.7.1-man.patch Patch2: logrotate-3.7.1-conf.patch Patch3: logrotate-3.7.1-noTMPDIR.patch +Patch4: logrotate-3.7.1-selinux.patch BuildRoot: %{_tmppath}/%{name}-%{version}.root %description @@ -32,6 +33,7 @@ log files on your system. %patch1 -p1 -b .orig %patch2 -p1 -b .conf %patch3 -p1 -b .noTMPDIR +%patch4 -p1 -b .selinux %build 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 %changelog +* Thu Mar 17 2005 Dan Walsh 3.7.1-9 +- Add selinux_getenforce() calls to work when not in enforcing mode + * Thu Mar 17 2005 Peter Vrabec 3.7.1-8 - rebuild