[perl-Test-Spelling] Update to 0.15

Paul Howarth pghmcfc at fedoraproject.org
Tue Aug 23 08:48:01 UTC 2011


commit e2c1e430d984e5a5d4076f8084fc08009741a523
Author: Paul Howarth <paul at city-fan.org>
Date:   Tue Aug 23 09:46:37 2011 +0100

    Update to 0.15
    
    - New upstream release 0.15:
      - Begin adding actual tests (hilariously, adding the suggested t/pod-spell.t
        to this dist to test itself found a typo: "stopwards")
    - BR: perl(Test::Tester) and hunspell-en

 ...pell.patch => Test-Spelling-0.13-hunspell.patch |    0
 perl-Test-Spelling.spec                            |   19 ++++++++++++++++---
 sources                                            |    2 +-
 3 files changed, 17 insertions(+), 4 deletions(-)
---
diff --git a/perl-Test-Spelling-0.13-hunspell.patch b/Test-Spelling-0.13-hunspell.patch
similarity index 100%
rename from perl-Test-Spelling-0.13-hunspell.patch
rename to Test-Spelling-0.13-hunspell.patch
diff --git a/perl-Test-Spelling.spec b/perl-Test-Spelling.spec
index 577239d..e95770f 100644
--- a/perl-Test-Spelling.spec
+++ b/perl-Test-Spelling.spec
@@ -1,16 +1,18 @@
 Name:           perl-Test-Spelling
-Version:        0.14
-Release:        2%{?dist}
+Version:        0.15
+Release:        1%{?dist}
 Summary:        Check for spelling errors in POD files
 Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/Test-Spelling/
 Source0:        http://search.cpan.org/CPAN/authors/id/S/SA/SARTAK/Test-Spelling-%{version}.tar.gz
-Patch0:         perl-Test-Spelling-0.13-hunspell.patch
+Patch0:         Test-Spelling-0.13-hunspell.patch
 BuildArch:      noarch
+BuildRequires:  hunspell-en
 BuildRequires:  perl(IPC::Open3)
 BuildRequires:  perl(Pod::Spell) >= 1.01
 BuildRequires:  perl(Test::Pod)
+BuildRequires:  perl(Test::Tester)
 Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 Requires:       hunspell
 
@@ -21,8 +23,13 @@ hunspell program.
 
 %prep
 %setup -q -n Test-Spelling-%{version}
+
+# Promote hunspell over spell/aspell to avoid surprises if aspell is installed
 %patch0 -p1
 
+# Force the author test to run too
+mkdir inc/.author
+
 %build
 perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
@@ -43,6 +50,12 @@ make test
 %{_mandir}/man3/Test::Spelling.3pm*
 
 %changelog
+* Tue Aug 23 2011 Paul Howarth <paul at city-fan.org> - 0.15-1
+- Update to 0.15:
+  - Begin adding actual tests (hilariously, adding the suggested t/pod-spell.t
+    to this dist to test itself found a typo: "stopwards")
+- BR: perl(Test::Tester) and hunspell-en
+
 * Mon Jun 20 2011 Marcela Mašláňová <mmaslano at redhat.com> - 0.14-2
 - Perl mass rebuild
 
diff --git a/sources b/sources
index 2c4b765..1a9aecc 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8a9809f7fe3a8d9745688f04c29f539d  Test-Spelling-0.14.tar.gz
+f2713ff45abf1862e1edd45f72cf7ea1  Test-Spelling-0.15.tar.gz



More information about the perl-devel mailing list