[perl-Pod-Wordlist-hanekomu] Update to 1.120740

Paul Howarth pghmcfc at fedoraproject.org
Thu Mar 15 10:44:49 UTC 2012


commit d0049aa7ab5ad03534f4d9451990c75cc1b8b45a
Author: Paul Howarth <paul at city-fan.org>
Date:   Thu Mar 15 10:43:19 2012 +0000

    Update to 1.120740
    
    - New upstream release 1.120740
      - Documentation and metadata update
      - Added "CamelCase", "CPANPLUS", "EINTR", "GUID", "HTTPS", "IETF", "IRC",
        "ISP", "ISP's", "JSON", "modulino", "SMTP", "SSL", "URI's", "UTC", "wiki"
        "analyses", "chunked", "locator", "redirections", "reusability", and
        "timestamp"
    - BR: perl(Test::Requires)
    - Update %description
    - Use metacpan.org URLs
    - Don't need to remove empty directories from buildroot
    - Drop support for EOL EL-4:
      - No longer need to support building with ExtUtils::MakeMaker < 6.30
      - Unconditionally BR: perl(Test::Perl::Critic) and perl(Test::Synopsis)
    - Update patch for building with Test::More < 0.88

 Pod-Wordlist-hanekomu-1.113620-old-eu::mm.patch    |   30 ----------
 ...hanekomu-1.120740-Test::More-done_testing.patch |    2 +-
 perl-Pod-Wordlist-hanekomu.spec                    |   60 +++++++++++---------
 sources                                            |    2 +-
 4 files changed, 36 insertions(+), 58 deletions(-)
---
diff --git a/Pod-Wordlist-hanekomu-1.113620-Test::More-done_testing.patch b/Pod-Wordlist-hanekomu-1.120740-Test::More-done_testing.patch
similarity index 98%
rename from Pod-Wordlist-hanekomu-1.113620-Test::More-done_testing.patch
rename to Pod-Wordlist-hanekomu-1.120740-Test::More-done_testing.patch
index acef59e..4c01fbb 100644
--- a/Pod-Wordlist-hanekomu-1.113620-Test::More-done_testing.patch
+++ b/Pod-Wordlist-hanekomu-1.120740-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 => 11;
++use Test::More tests => 12;
  
  # Include a cut-down version of YAML::Tiny so we don't introduce unnecessary
  # dependencies ourselves.
diff --git a/perl-Pod-Wordlist-hanekomu.spec b/perl-Pod-Wordlist-hanekomu.spec
index 1f9107c..33c3adb 100644
--- a/perl-Pod-Wordlist-hanekomu.spec
+++ b/perl-Pod-Wordlist-hanekomu.spec
@@ -1,32 +1,27 @@
-# We don't really need ExtUtils::MakeMaker ≥ 6.30
-%global old_eumm %(perl -MExtUtils::MakeMaker -e 'printf "%d\\n", $ExtUtils::MakeMaker::VERSION < 6.30 ? 1 : 0;' 2>/dev/null || echo 0)
-
 # We need to patch the test suite if we have an old version of Test::More
-%global old_test_more %(perl -MTest::More -e 'printf "%d\\n", $Test::More::VERSION < 0.94 ? 1 : 0;' 2>/dev/null || echo 0)
-%global older_test_more %(perl -MTest::More -e 'printf "%d\\n", $Test::More::VERSION < 0.88 ? 1 : 0;' 2>/dev/null || echo 0)
-%global even_older_test_more %(perl -MTest::More -e 'printf "%d\\n", $Test::More::VERSION < 0.82 ? 1 : 0;' 2>/dev/null || echo 0)
+%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)
 
 # noarch, but to avoid debug* files interfering with manifest test:
 %global debug_package %{nil}
 
 Name:		perl-Pod-Wordlist-hanekomu
-Version:	1.113620
-Release:	2%{?dist}
+Version:	1.120740
+Release:	1%{?dist}
 Summary:	Add words for spell checking POD
 Group:		Development/Libraries
 License:	GPL+ or Artistic
-URL:		http://search.cpan.org/dist/perl-Pod-Wordlist-hanekomu/
-Source0:	http://search.cpan.org/CPAN/authors/id/M/MA/MARCEL/Pod-Wordlist-hanekomu-%{version}.tar.gz
-Patch0:		Pod-Wordlist-hanekomu-1.113620-old-eu::mm.patch
+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.113620-Test::More-done_testing.patch
+Patch2:		Pod-Wordlist-hanekomu-1.120740-Test::More-done_testing.patch
 Patch3:		Pod-Wordlist-hanekomu-1.113620-Test::More-note.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
 BuildArch:	noarch
 # ===================================================================
 # Module requirements
 # ===================================================================
-BuildRequires:	aspell-en
 BuildRequires:	perl(Carp)
 BuildRequires:	perl(English)
 BuildRequires:	perl(ExtUtils::MakeMaker)
@@ -34,7 +29,7 @@ BuildRequires:	perl(File::Find)
 BuildRequires:	perl(File::Temp)
 BuildRequires:	perl(Scalar::Util)
 BuildRequires:	perl(Test::More)
-BuildRequires:	perl(Test::Spelling)
+BuildRequires:	perl(Test::Spelling), aspell-en
 BuildRequires:	perl(utf8)
 # ===================================================================
 # Author/Release test requirements
@@ -51,14 +46,12 @@ BuildRequires:	perl(Test::CPAN::Meta)
 BuildRequires:	perl(Test::DistManifest)
 BuildRequires:	perl(Test::EOL)
 BuildRequires:	perl(Test::NoTabs)
+BuildRequires:	perl(Test::Perl::Critic)
 BuildRequires:	perl(Test::Pod::Coverage)
 BuildRequires:	perl(Test::Pod)
 BuildRequires:	perl(Test::Portability::Files)
-# Modules only available from EL-5
-%if 0%{?fedora} || 0%{?rhel} > 4
-BuildRequires:	perl(Test::Perl::Critic)
+BuildRequires:	perl(Test::Requires)
 BuildRequires:	perl(Test::Synopsis)
-%endif
 # Modules only available from EL-6
 %if 0%{?fedora} || 0%{?rhel} > 5
 BuildRequires:	perl(Test::Kwalitee)
@@ -72,17 +65,17 @@ BuildRequires:	perl(Test::Vars)
 Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 %description
-This module, when loaded, adds stopwords for POD spell checking, that is,
-words that should be ignored by the spell check.
+When loaded, this module automatically adds Test::Spelling stopwords for
+POD spell checking, that is, words that should be ignored by the spell
+check.
+
+The stopword list includes some CPAN author names, technical terms (e.g.
+JSON, URI) and other commonly-used words not included in the default
+word list (e.g. mixin, munging).
 
 %prep
 %setup -q -n Pod-Wordlist-hanekomu-%{version}
 
-# We don't really need ExtUtils::MakeMaker ≥ 6.30
-%if %{old_eumm}
-%patch0 -p1
-%endif
-
 # We have to patch the test suite if we have an old Test::More
 #
 # Don't really need Test::More ≥ 0.94
@@ -106,7 +99,6 @@ make %{?_smp_mflags}
 rm -rf %{buildroot}
 make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} \;
-find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null
 %{_fixperms} %{buildroot}
 
 %check
@@ -122,6 +114,22 @@ rm -rf %{buildroot}
 %{_mandir}/man3/Pod::Wordlist::hanekomu.3pm*
 
 %changelog
+* Thu Mar 15 2012 Paul Howarth <paul at city-fan.org> - 1.120740-1
+- Update to 1.120740
+  - Documentation and metadata update
+  - Added "CamelCase", "CPANPLUS", "EINTR", "GUID", "HTTPS", "IETF", "IRC",
+    "ISP", "ISP's", "JSON", "modulino", "SMTP", "SSL", "URI's", "UTC", "wiki"
+    "analyses", "chunked", "locator", "redirections", "reusability", and
+    "timestamp"
+- BR: perl(Test::Requires)
+- Update %%description
+- Use metacpan.org URLs
+- Don't need to remove empty directories from buildroot
+- Drop support for EOL EL-4:
+  - No longer need to support building with ExtUtils::MakeMaker < 6.30
+  - Unconditionally BR: perl(Test::Perl::Critic) and perl(Test::Synopsis)
+- Update patch for building with Test::More < 0.88
+
 * Thu Jan 12 2012 Paul Howarth <paul at city-fan.org> - 1.113620-2
 - Use DESTDIR rather than PERL_INSTALL_ROOT
 
diff --git a/sources b/sources
index f8bf1f6..af83250 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-7b21948123aa24bb741cbb1687a557c4  Pod-Wordlist-hanekomu-1.113620.tar.gz
+063695efb3b3a84f09f4c31a13cdae94  Pod-Wordlist-hanekomu-1.120740.tar.gz


More information about the scm-commits mailing list