commit 884454b5b607f5355972be45c87cf67bf334bb9e
Author: Paul Howarth <p...@city-fan.org>
Date:   Thu May 3 11:29:19 2012 +0100

    Update to 1.121231
    
    - New upstream release 1.121231
      - Added "deserialized" and "parameterizable"
    - Drop now-redundant BR: perl(Test::Requires)
    - Update patch for building with Test::More < 0.88
    - Add new patch for building with Test::Spelling < 0.12 if necessary

 ...hanekomu-1.121231-Test::More-done_testing.patch |    2 +-
 ...list-hanekomu-1.121231-old-Test::Spelling.patch |   11 +++++++++
 perl-Pod-Wordlist-hanekomu.spec                    |   23 +++++++++++++++----
 sources                                            |    2 +-
 4 files changed, 31 insertions(+), 7 deletions(-)
---
diff --git a/Pod-Wordlist-hanekomu-1.120740-Test::More-done_testing.patch 
b/Pod-Wordlist-hanekomu-1.121231-Test::More-done_testing.patch
similarity index 98%
rename from Pod-Wordlist-hanekomu-1.120740-Test::More-done_testing.patch
rename to Pod-Wordlist-hanekomu-1.121231-Test::More-done_testing.patch
index 4c01fbb..acef59e 100644
--- a/Pod-Wordlist-hanekomu-1.120740-Test::More-done_testing.patch
+++ b/Pod-Wordlist-hanekomu-1.121231-Test::More-done_testing.patch
@@ -6,7 +6,7 @@ diff -up 
Pod-Wordlist-hanekomu-1.113620/t/000-report-versions.t.orig Pod-Wordlis
  use warnings;
  use strict;
 -use Test::More 0.88;
-+use Test::More tests => 12;
++use Test::More tests => 11;
  
  # Include a cut-down version of YAML::Tiny so we don't introduce unnecessary
  # dependencies ourselves.
diff --git a/Pod-Wordlist-hanekomu-1.121231-old-Test::Spelling.patch 
b/Pod-Wordlist-hanekomu-1.121231-old-Test::Spelling.patch
new file mode 100644
index 0000000..d79d959
--- /dev/null
+++ b/Pod-Wordlist-hanekomu-1.121231-old-Test::Spelling.patch
@@ -0,0 +1,11 @@
+--- t/author-pod-spell.t
++++ t/author-pod-spell.t
+@@ -11,7 +11,7 @@
+ use Test::More;
+ 
+ # generated by Dist::Zilla::Plugin::Test::PodSpelling 2.002004
+-eval "use Test::Spelling 0.12; use Pod::Wordlist::hanekomu; 1" or die $@;
++eval "use Test::Spelling; use Pod::Wordlist::hanekomu; 1" or die $@;
+ 
+ 
+ add_stopwords(<DATA>);
diff --git a/perl-Pod-Wordlist-hanekomu.spec b/perl-Pod-Wordlist-hanekomu.spec
index f1706f1..a3052e2 100644
--- a/perl-Pod-Wordlist-hanekomu.spec
+++ b/perl-Pod-Wordlist-hanekomu.spec
@@ -1,13 +1,14 @@
-# We need to patch the test suite if we have an old version of Test::More
+# We need to patch the test suite if we have an old version of Test::More or 
Test::Spelling
 %global old_test_more %(perl -MTest::More -e 'print (($Test::More::VERSION < 
0.94) ? 1 : 0);' 2>/dev/null || echo 0)
 %global older_test_more %(perl -MTest::More -e 'print (($Test::More::VERSION < 
0.88) ? 1 : 0);' 2>/dev/null || echo 0)
 %global even_older_test_more %(perl -MTest::More -e 'print 
(($Test::More::VERSION < 0.82) ? 1 : 0);' 2>/dev/null || echo 0)
+%global old_test_spelling %(perl -MTest::Spelling -e 'print 
(($Test::Spelling::VERSION < 0.12) ? 1 : 0);' 2>/dev/null || echo 0)
 
 # noarch, but to avoid debug* files interfering with manifest test:
 %global debug_package %{nil}
 
 Name:          perl-Pod-Wordlist-hanekomu
-Version:       1.120920
+Version:       1.121231
 Release:       1%{?dist}
 Summary:       Add words for spell checking POD
 Group:         Development/Libraries
@@ -15,8 +16,9 @@ License:      GPL+ or Artistic
 URL:           https://metacpan.org/module/Pod::Wordlist::hanekomu/
 Source0:       
http://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/Pod-Wordlist-hanekomu-%{version}.tar.gz
 Patch1:                Pod-Wordlist-hanekomu-1.110090-Test::More-version.patch
-Patch2:                
Pod-Wordlist-hanekomu-1.120740-Test::More-done_testing.patch
+Patch2:                
Pod-Wordlist-hanekomu-1.121231-Test::More-done_testing.patch
 Patch3:                Pod-Wordlist-hanekomu-1.113620-Test::More-note.patch
+Patch4:                Pod-Wordlist-hanekomu-1.121231-old-Test::Spelling.patch
 BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
 BuildArch:     noarch
 # ===================================================================
@@ -46,14 +48,13 @@ BuildRequires:      perl(Test::CPAN::Meta)
 BuildRequires: perl(Test::DistManifest)
 BuildRequires: perl(Test::EOL)
 BuildRequires: perl(Test::Kwalitee)
+BuildRequires: perl(Test::MinimumVersion)
 BuildRequires: perl(Test::NoTabs)
 BuildRequires: perl(Test::Perl::Critic)
 BuildRequires: perl(Test::Pod::Coverage)
 BuildRequires: perl(Test::Pod)
 BuildRequires: perl(Test::Portability::Files)
-BuildRequires: perl(Test::Requires)
 BuildRequires: perl(Test::Synopsis)
-BuildRequires: perl(Test::MinimumVersion)
 # Test::Vars requires Perl 5.10 and so is not available in EPEL-5
 %if "%{?rhel}" != "5"
 BuildRequires: perl(Test::Vars)
@@ -91,6 +92,11 @@ word list (e.g. mixin, munging).
 %patch3 -p1
 %endif
 
+# Don't really need Test::Spelling ≥ 0.12
+%if %{old_test_spelling}
+%patch4
+%endif
+
 %build
 perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
@@ -113,6 +119,13 @@ rm -rf %{buildroot}
 %{_mandir}/man3/Pod::Wordlist::hanekomu.3pm*
 
 %changelog
+* Thu May  3 2012 Paul Howarth <p...@city-fan.org> - 1.121231-1
+- Update to 1.121231
+  - Added "deserialized" and "parameterizable"
+- Drop now-redundant BR: perl(Test::Requires)
+- Update patch for building with Test::More < 0.88
+- Add new patch for building with Test::Spelling < 0.12 if necessary
+
 * Sun Apr  1 2012 Paul Howarth <p...@city-fan.org> - 1.120920-1
 - Update to 1.120920
   - Added "pre", "precompute", "prereq", "prereqs", "symlinked"
diff --git a/sources b/sources
index dae4fda..58e4426 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-6fdd0d9e4f2db3a514ae5492ab15fde7  Pod-Wordlist-hanekomu-1.120920.tar.gz
+84b7f6de100f4ecaef783e6b23133258  Pod-Wordlist-hanekomu-1.121231.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to