SPECS: logrotate.spec - update selinux from fc8
glen
glen at pld-linux.org
Mon Apr 14 12:36:55 CEST 2008
Author: glen Date: Mon Apr 14 10:36:55 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- update selinux from fc8
---- Files affected:
SPECS:
logrotate.spec (1.84 -> 1.85)
---- Diffs:
================================================================
Index: SPECS/logrotate.spec
diff -u SPECS/logrotate.spec:1.84 SPECS/logrotate.spec:1.85
--- SPECS/logrotate.spec:1.84 Wed Jan 9 22:50:09 2008
+++ SPECS/logrotate.spec Mon Apr 14 12:36:50 2008
@@ -1,4 +1,9 @@
# $Revision$, $Date$
+# TODO
+# - bug: when logrotate.status is written truncated (due disk getting full) and
+# the line is partial, it will complain erronously that the line is too long
+# while it just doesn't have the second DATE column. and that error should be
+# ignored as warning not fatal as error.
#
# Conditional build:
%bcond_without selinux # build without SELinux support
@@ -14,16 +19,17 @@
Summary(uk.UTF-8): Ротує, компресує, видаляє та відправляє поштою лог-файли
Name: logrotate
Version: 3.7.6
-Release: 2
+Release: 3
License: GPL v2
Group: Applications/System
-# extracted from FC src.rpm
+# Source0Download: ftp://download.fedora.redhat.com/pub/fedora/linux/updates/8/SRPMS/logrotate-3.7.6-2.2.fc8.src.rpm
Source0: %{name}-%{version}.tar.gz
# Source0-md5: cafaaf07c0688398c80ef234d40ec0e4
Source1: %{name}.conf
Source2: %{name}.sysconfig
Patch0: %{name}-man.patch
Patch1: %{name}-cron.patch
+Patch2: %{name}-selinux.patch
%{?with_selinux:BuildRequires: libselinux-devel}
BuildRequires: popt-devel >= 1.3
Requires(post): fileutils
@@ -103,6 +109,7 @@
%setup -q
%patch0 -p1
%patch1 -p1
+%patch2 -p1
%build
%{__make} \
@@ -164,7 +171,7 @@
%attr(750,root,root) %dir /etc/logrotate.d
%attr(750,root,root) /etc/cron.daily/logrotate
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*.conf
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sysconfig/%{name}
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
%attr(640,root,root) %ghost %{statdir}/logrotate.status
%attr(750,root,logs) %dir /var/log/archive
%ghost /var/log/archiv
@@ -176,6 +183,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.85 2008-04-14 10:36:50 glen
+- update selinux from fc8
+
Revision 1.84 2008-01-09 21:50:09 wolvverine
- add patch for cron script
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/logrotate.spec?r1=1.84&r2=1.85&f=u
More information about the pld-cvs-commit
mailing list