[perl-Pod-Spell] Teach rpmlint

Petr Pisar ppisar at fedoraproject.org
Thu Oct 25 09:29:34 UTC 2012


commit ed1665bcbdb56b3dc6413178c082bb35bca42edd
Author: Petr Písař <ppisar at redhat.com>
Date:   Thu Oct 25 11:25:21 2012 +0200

    Teach rpmlint

 .rpmlint            |    2 ++
 perl-Pod-Spell.spec |    6 +++---
 2 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/.rpmlint b/.rpmlint
new file mode 100644
index 0000000..51d09e7
--- /dev/null
+++ b/.rpmlint
@@ -0,0 +1,2 @@
+from Config import *
+addFilter("spelling-error .* (formatter|hashref)");
diff --git a/perl-Pod-Spell.spec b/perl-Pod-Spell.spec
index 7dc1f62..0531567 100644
--- a/perl-Pod-Spell.spec
+++ b/perl-Pod-Spell.spec
@@ -1,7 +1,7 @@
 Name:           perl-Pod-Spell
 Version:        1.01
 Release:        15%{?dist}
-Summary:        A formatter for spellchecking Pod
+Summary:        A formatter for spell-checking POD
 Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/Pod-Spell/
@@ -19,10 +19,10 @@ BuildRequires:  perl(Test)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %description
-Pod::Spell is a Pod formatter whose output is good for spellchecking.
+Pod::Spell is a Pod formatter whose output is good for spell-checking.
 Pod::Spell rather like Pod::Text, except that it doesn't put much
 effort into actual formatting, and it suppresses things that look like
-Perl symbols or Perl jargon (so that your spellchecking program won't
+Perl symbols or Perl jargon (so that your spell-checking program won't
 complain about mystery words like "$thing" or "Foo::Bar" or "hashref").
 
 %prep


More information about the scm-commits mailing list