[swatch] fix manpage
Tom Callaway
spot at fedoraproject.org
Fri Feb 8 22:12:56 UTC 2013
commit bf4233bf1b615c07dfff4b39de0aee80ffd1973c
Author: Tom Callaway <spot at fedoraproject.org>
Date: Fri Feb 8 17:15:44 2013 -0500
fix manpage
swatch-3.2.3-manpage-fix.patch | 25 +++++++++++++++++++++++++
swatch.spec | 7 ++++++-
2 files changed, 31 insertions(+), 1 deletions(-)
---
diff --git a/swatch-3.2.3-manpage-fix.patch b/swatch-3.2.3-manpage-fix.patch
new file mode 100644
index 0000000..e9caa64
--- /dev/null
+++ b/swatch-3.2.3-manpage-fix.patch
@@ -0,0 +1,25 @@
+diff -upa swatch-3.2.3/swatch.fix swatch-3.2.3/swatch
+--- swatch-3.2.3/swatch.fix 2008-07-01 14:18:31.000000000 -0400
++++ swatch-3.2.3/swatch 2013-02-08 17:10:40.159174024 -0500
+@@ -1347,9 +1347,11 @@ watchfor /$syslog hostname pppd/>
+ but any valid Perl is permitted. Remember the semicolon, and make judicious
+ use of the B<--dump-script> option if you run into trouble.
+
++=back
++
+ =head1 CONFIGURATION EXAMPLE
+
+-=begin text
++=over 4
+
+ perlcode my $fsf_regex = '\d{2}:\d{2}:\d{2}\s+(.* file system full)';
+
+@@ -1358,7 +1360,7 @@ watchfor /$fsf_regex/
+ echo
+ bell
+
+-=end text
++=back
+
+ In this example, a line which contains the string "file system full" will
+ be echoed and the screen bell will sound. Also, B<threshold> will use what
diff --git a/swatch.spec b/swatch.spec
index fe80305..0440551 100644
--- a/swatch.spec
+++ b/swatch.spec
@@ -1,6 +1,6 @@
Name: swatch
Version: 3.2.3
-Release: 6%{?dist}
+Release: 7%{?dist}
Summary: Tool for actively monitoring log files
Group: Applications/File
License: GPLv2+
@@ -13,6 +13,7 @@ BuildRequires: perl(Date::Manip)
BuildRequires: perl(File::Tail)
BuildRequires: perl(ExtUtils::MakeMaker)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Patch0: swatch-3.2.3-manpage-fix.patch
%description
The Simple WATCHer is an automated monitoring tool that is capable
@@ -22,6 +23,7 @@ searching logfiles using perl.
%prep
%setup -q
+%patch0 -p1 -b .fix
chmod -v 644 tools/*
%{?filter_from_requires: %filter_from_requires /^perl(Mail:Sendmail)$/d }
@@ -51,6 +53,9 @@ make test
%{perl_vendorlib}/auto/Swatch/
%changelog
+* Fri Feb 8 2013 Tom Callaway <spot at fedoraproject.org> - 3.2.3-7
+- fix manpage (bz 909120)
+
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.2.3-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
More information about the scm-commits
mailing list