Resolves: #1611498 - document the --version option in the logrotate(8) man page
This commit is contained in:
parent
b2fd7c51d4
commit
ac471f2558
34
0001-logrotate-3.14.0-man-version.patch
Normal file
34
0001-logrotate-3.14.0-man-version.patch
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
From b0d067cfba64956893fc095bb37f8c767f5a910e Mon Sep 17 00:00:00 2001
|
||||||
|
From: Kamil Dudka <kdudka@redhat.com>
|
||||||
|
Date: Mon, 6 Aug 2018 17:13:31 +0200
|
||||||
|
Subject: [PATCH] logrotate.8: document the --version option
|
||||||
|
|
||||||
|
The man page now covers all the options that are listed
|
||||||
|
by `logrotate --help`.
|
||||||
|
|
||||||
|
Bug: https://bugzilla.redhat.com/1611498
|
||||||
|
|
||||||
|
Upstream-commit: 4088ef987df2ec48cc3d968eb87ad27c840fa2d8
|
||||||
|
Signed-off-by: Kamil Dudka <kdudka@redhat.com>
|
||||||
|
---
|
||||||
|
logrotate.8.in | 4 ++++
|
||||||
|
1 file changed, 4 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/logrotate.8.in b/logrotate.8.in
|
||||||
|
index 004229e..5ef09c5 100644
|
||||||
|
--- a/logrotate.8.in
|
||||||
|
+++ b/logrotate.8.in
|
||||||
|
@@ -87,6 +87,10 @@ Prints a short usage message.
|
||||||
|
\fB\-v\fR, \fB\-\-verbose\fR
|
||||||
|
Turns on verbose mode, for example to display messages during rotation.
|
||||||
|
|
||||||
|
+.TP
|
||||||
|
+\fB\-\-version\fR
|
||||||
|
+Display version information.
|
||||||
|
+
|
||||||
|
.SH CONFIGURATION FILE
|
||||||
|
|
||||||
|
\fBlogrotate\fR reads everything about the log files it should be handling
|
||||||
|
--
|
||||||
|
2.17.1
|
||||||
|
|
@ -1,7 +1,7 @@
|
|||||||
Summary: Rotates, compresses, removes and mails system log files
|
Summary: Rotates, compresses, removes and mails system log files
|
||||||
Name: logrotate
|
Name: logrotate
|
||||||
Version: 3.14.0
|
Version: 3.14.0
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Url: https://github.com/logrotate/logrotate
|
Url: https://github.com/logrotate/logrotate
|
||||||
Source: https://github.com/logrotate/logrotate/releases/download/%{version}/logrotate-%{version}.tar.xz
|
Source: https://github.com/logrotate/logrotate/releases/download/%{version}/logrotate-%{version}.tar.xz
|
||||||
@ -16,6 +16,9 @@ BuildRequires: libselinux-devel
|
|||||||
BuildRequires: popt-devel
|
BuildRequires: popt-devel
|
||||||
Requires: coreutils
|
Requires: coreutils
|
||||||
|
|
||||||
|
# document the --version option in the logrotate(8) man page (#1611498)
|
||||||
|
Patch1: 0001-logrotate-3.14.0-man-version.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The logrotate utility is designed to simplify the administration of
|
The logrotate utility is designed to simplify the administration of
|
||||||
log files on a system which generates a lot of log files. Logrotate
|
log files on a system which generates a lot of log files. Logrotate
|
||||||
@ -47,7 +50,7 @@ git commit -m "configure.ac: compatibility fixes for RHEL-6"
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
autoreconf -fiv
|
autoreconf -fiv
|
||||||
git add configure config.{guess,sub} Makefile.in install-sh
|
git add --all
|
||||||
git commit -m "force autoreconf" --allow-empty
|
git commit -m "force autoreconf" --allow-empty
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -101,6 +104,9 @@ fi
|
|||||||
%config(noreplace) %{_sysconfdir}/rwtab.d/logrotate
|
%config(noreplace) %{_sysconfdir}/rwtab.d/logrotate
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Aug 10 2018 Kamil Dudka <kdudka@redhat.com> - 3.14.0-4
|
||||||
|
- document the --version option in the logrotate(8) man page (#1611498)
|
||||||
|
|
||||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.14.0-3
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.14.0-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user