- enhance logrotate with "dateext", "maxage"

This commit is contained in:
Peter Vrabec 2005-06-22 13:31:33 +00:00
parent dfc0a56da9
commit 0250e7aab8

View File

@ -5,7 +5,7 @@ BuildRequires: libselinux-devel
Summary: Rotates, compresses, removes and mails system log files.
Name: logrotate
Version: 3.7.1
Release: 10
Release: 11
License: GPL
Group: System Environment/Base
Source: logrotate-%{PACKAGE_VERSION}.tar.gz
@ -14,6 +14,8 @@ 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
Patch5: logrotate-3.7.1-dateext.patch
Patch6: logrotate-3.7.1-maxage.patch
BuildRoot: %{_tmppath}/%{name}-%{version}.root
%description
@ -34,6 +36,8 @@ log files on your system.
%patch2 -p1 -b .conf
%patch3 -p1 -b .noTMPDIR
%patch4 -p1 -b .selinux
%patch5 -p1 -b .dateext
%patch6 -p1 -b .maxage
%build
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS -g" \
@ -66,6 +70,9 @@ rm -rf $RPM_BUILD_ROOT
%attr(0644, root, root) %verify(not size md5 mtime) %config(noreplace) /var/lib/logrotate.status
%changelog
* Wed Jun 22 2005 Peter Vrabec <pvrabec@redhat.com> 3.7.1-11
- enhance logrotate with "dateext", "maxage"
* Thu Mar 31 2005 Dan Walsh <dwalsh@redhat.com> 3.7.1-10
- use security_getenforce() instead of selinux_getenforcemode