[logrotate] fix #723547 - fixed size directive parsing

Jan Kaluža jkaluza at fedoraproject.org
Fri Jul 22 06:21:40 UTC 2011


commit f307856de3544302078296399bfd843da36232ee
Author: HanzZ <hanzz.k at gmail.com>
Date:   Fri Jul 22 10:24:18 2011 +0200

    fix #723547 - fixed size directive parsing

 logrotate.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/logrotate.spec b/logrotate.spec
index 0718467..75d6d20 100644
--- a/logrotate.spec
+++ b/logrotate.spec
@@ -1,12 +1,13 @@
 Summary: Rotates, compresses, removes and mails system log files
 Name: logrotate
 Version: 3.8.0
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: GPL+
 Group: System Environment/Base
 Url: https://fedorahosted.org/logrotate/
 Source: https://fedorahosted.org/releases/l/o/logrotate/logrotate-%{version}.tar.gz
 Patch0: logrotate-3.8.0-no-cron-redirection.patch
+Patch1: logrotate-3.8.0-rot-size.patch
 
 Requires: coreutils >= 5.92 libsepol libselinux popt libacl
 BuildRequires: libselinux-devel popt-devel libacl-devel
@@ -27,6 +28,7 @@ log files on your system.
 %setup -q
 
 %patch0 -p1
+%patch1 -p1
 
 %build
 make %{?_smp_mflags} RPM_OPT_FLAGS="$RPM_OPT_FLAGS" WITH_SELINUX=yes WITH_ACL=yes
@@ -57,6 +59,9 @@ rm -rf $RPM_BUILD_ROOT
 %attr(0644, root, root) %verify(not size md5 mtime) %config(noreplace) %{_localstatedir}/lib/logrotate.status
 
 %changelog
+* Fri Jul 22 2011 Jan Kaluza <jkaluza at redhat.com> 3.8.0-3
+- fix #723547 - fixed size directive parsing
+
 * Wed Jul 20 2011 Jan Kaluza <jkaluza at redhat.com> 3.8.0-2
 - fix #722825 - do not redirect logrotate output in cron script
 


More information about the scm-commits mailing list