[logwatch] Fix a typo in logwatch(8) (rhbz#664883)

Karel Klíč kklic at fedoraproject.org
Mon Mar 28 12:35:41 UTC 2011


commit 4b8f0644d86c1620fef9a9c4d85b35d05f959e15
Author: Karel Klic <kklic at redhat.com>
Date:   Mon Mar 28 14:35:32 2011 +0200

    Fix  a typo in logwatch(8) (rhbz#664883)

 logwatch-manpage.patch |   11 +++++++++++
 logwatch.spec          |   11 ++++++++---
 2 files changed, 19 insertions(+), 3 deletions(-)
---
diff --git a/logwatch-manpage.patch b/logwatch-manpage.patch
new file mode 100644
index 0000000..ac0d2ac
--- /dev/null
+++ b/logwatch-manpage.patch
@@ -0,0 +1,11 @@
+--- logwatch/logwatch.8	2010-12-16 10:20:09.000000000 +0000
++++ logwatch/logwatch.8	2010-12-22 00:49:45.000000000 +0000
+@@ -38,7 +38,7 @@ 
+ This is the detail level of the report.
+ .I level
+ can be a positive integer, or high, med, low, which correspond to the
+-integers 10, 5, and 0, repectively.
++integers 10, 5, and 0, respectively.
+ .IP "\fB--logfile\fR log-file-group"
+ This will force Logwatch to process only the set of logfiles
+ defined by
diff --git a/logwatch.spec b/logwatch.spec
index 68f5d8a..2acd532 100644
--- a/logwatch.spec
+++ b/logwatch.spec
@@ -1,7 +1,7 @@
 Summary: A log file analysis program
 Name: logwatch
 Version: 7.3.6
-Release: 68.20110228svn46%{?dist}
+Release: 69.20110228svn46%{?dist}
 License: MIT
 Group: Applications/System
 URL: http://www.logwatch.org/
@@ -19,6 +19,8 @@ Patch1: logwatch-oldfiles.patch
 Patch2: logwatch-secure.patch
 # Fixes not yet in upstream for DNSSEC messages in named service (rhbz#666394)
 Patch3: logwatch-named-dnssec.patch
+# Manpage typo
+Patch4: logwatch-manpage.patch
 Requires: textutils sh-utils grep mailx
 Requires: perl(Date::Manip)
 BuildArchitectures: noarch
@@ -35,13 +37,12 @@ of the package on many systems.
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 rm -f scripts/services/*.orig
 
 %build
 
 %install
-rm -rf %{buildroot}
-
 install -m 0755 -d %{buildroot}%{_var}/cache/logwatch
 install -m 0755 -d %{buildroot}%{_sysconfdir}/logwatch/scripts
 install -m 0755 -d %{buildroot}%{_sysconfdir}/logwatch/scripts/services
@@ -129,6 +130,10 @@ echo "# Configuration overrides for specific logfiles/services may be placed her
 %doc LICENSE
 
 %changelog
+* Mon Mar 28 2011 Karel Klíč <kklic at redhat.com> - 7.3.6-69.20110228svn46
+- Added -manpage patch fixing a typo in logwatch(8) (rhbz#664883)
+- Removed `rm -rf %{buildroot}` from %%install section
+
 * Mon Mar 28 2011 Karel Klíč <kklic at redhat.com> - 7.3.6-68.20110228svn46
 - Added -named-dnessec patch to handle DNSSEC messages in named (rhbz#666394)
 


More information about the scm-commits mailing list