[logrotate] - fix #644309 - mention all logrotate params in man page
Jan Kaluža
jkaluza at fedoraproject.org
Tue Oct 19 12:15:06 UTC 2010
commit 611b3dc848cf149a0c22faee42541cac0537a85a
Author: Jan Kaluza <hanzz.k at gmail.com>
Date: Tue Oct 19 14:15:01 2010 +0200
- fix #644309 - mention all logrotate params in man page
logrotate-3.7.9-man-page.patch | 26 ++++++++++++++++++++++++++
logrotate.spec | 7 ++++++-
2 files changed, 32 insertions(+), 1 deletions(-)
---
diff --git a/logrotate-3.7.9-man-page.patch b/logrotate-3.7.9-man-page.patch
new file mode 100644
index 0000000..ca4ada4
--- /dev/null
+++ b/logrotate-3.7.9-man-page.patch
@@ -0,0 +1,26 @@
+diff --git a/logrotate.8 b/logrotate.8
+index 47749c3..3b0d4df 100644
+--- a/logrotate.8
++++ b/logrotate.8
+@@ -13,7 +13,7 @@ weekly, monthly, or when it grows too large.
+ Normally, \fBlogrotate\fR is run as a daily cron job. It will not modify
+ a log multiple times in one day unless the criterium for that log is
+ based on the log's size and \fBlogrotate\fR is being run multiple times
+-each day, or unless the \fB-f\fR or \fB-force\fR option is used.
++each day, or unless the \fB-f\fR or \fB-\-force\fR option is used.
+ .P
+ Any number of config files may be given on the command line. Later config
+ files may override the options given in earlier files, so the order
+@@ -31,7 +31,11 @@ non-zero status.
+
+ .SH OPTIONS
+ .TP
+-\fB-d\fR
++\fB-?\fR, \fB-\-help\fR
++Prints help message.
++
++.TP
++\fB-d\fR, \fB-\-debug\fR
+ Turns on debug mode and implies \fB-v\fR. In debug mode, no changes will
+ be made to the logs or to the \fBlogrotate\fR state file.
+
diff --git a/logrotate.spec b/logrotate.spec
index 53fb071..8443c07 100644
--- a/logrotate.spec
+++ b/logrotate.spec
@@ -1,12 +1,13 @@
Summary: Rotates, compresses, removes and mails system log files
Name: logrotate
Version: 3.7.9
-Release: 3%{?dist}
+Release: 4%{?dist}
License: GPL+
Group: System Environment/Base
Source: https://fedorahosted.org/releases/l/o/logrotate/logrotate-%{version}.tar.gz
Patch1: logrotate-3.7.8-man-authors.patch
Patch2: logrotate-3.7.9-man-size.patch
+Patch3: logrotate-3.7.9-man-page.patch
Requires: coreutils >= 5.92 libsepol libselinux popt
BuildRequires: libselinux-devel popt-devel
@@ -27,6 +28,7 @@ log files on your system.
%setup -q
%patch1 -p2
%patch2
+%patch3 -p1
%build
make %{?_smp_mflags} RPM_OPT_FLAGS="$RPM_OPT_FLAGS" WITH_SELINUX=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
+* Tue Oct 19 2010 Jan Kaluza <jkaluza at redhat.com> 3.7.9-4
+- fix #644309 - mention all logrotate params in man page
+
* Wed Sep 29 2010 Jan Kaluza <jkaluza at redhat.com> 3.7.9-3
- fix #638629 - better size directive description
More information about the scm-commits
mailing list