[perl-Test-Version] Update to 1.002003

Paul Howarth pghmcfc at fedoraproject.org
Tue Oct 15 13:39:53 UTC 2013


commit e6fd350af40abd5dda1250fa2dea3dbc8991fbb5
Author: Paul Howarth <paul at city-fan.org>
Date:   Tue Oct 15 14:39:18 2013 +0100

    Update to 1.002003
    
    - New upstream release 1.002003
      - Fix synopsis (https://github.com/xenoterracide/Test-Version/pull/6)
      - Change Dist::Zilla plugins
      - Remove old documentation that no longer applies
      - Fix misgithap
      - More dist.ini updates
    - Update patches and buildreqs as needed
    - Drop support for old rpm versions as this package's requirements will never
      be satisfied in EPEL-5

 Test-Version-1.002001-kwalitee.patch  |   15 ----------
 Test-Version-1.002001-spelling.patch  |    9 ------
 Test-Version-1.002003-pod-spell.patch |   12 ++++++++
 perl-Test-Version.spec                |   47 +++++++++++++++++---------------
 sources                               |    2 +-
 5 files changed, 38 insertions(+), 47 deletions(-)
---
diff --git a/Test-Version-1.002003-pod-spell.patch b/Test-Version-1.002003-pod-spell.patch
new file mode 100644
index 0000000..fa8fe3f
--- /dev/null
+++ b/Test-Version-1.002003-pod-spell.patch
@@ -0,0 +1,12 @@
+--- t/author-pod-spell.t
++++ t/author-pod-spell.t
+@@ -30,6 +30,9 @@
+ Mike
+ Doherty
+ doherty
++bugtracker
++dist
++doesn
+ particle
+ lib
+ Test
diff --git a/perl-Test-Version.spec b/perl-Test-Version.spec
index 5c786e3..35e9d82 100644
--- a/perl-Test-Version.spec
+++ b/perl-Test-Version.spec
@@ -2,21 +2,19 @@
 %global debug_package %{nil}
 
 Name:		perl-Test-Version
-Version:	1.002001
-Release:	13%{?dist}
+Version:	1.002003
+Release:	1%{?dist}
 Summary:	Check to see that versions in modules are sane
 License:	Artistic 2.0
 Group:		Development/Libraries
 URL:		http://search.cpan.org/dist/Test-Version/
 Source0:	http://search.cpan.org/CPAN/authors/id/X/XE/XENO/Test-Version-%{version}.tar.gz
-Patch0:		Test-Version-1.002001-kwalitee.patch
-Patch1:		Test-Version-1.002001-spelling.patch
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
+Patch1:		Test-Version-1.002003-pod-spell.patch
 BuildArch:	noarch
 # ===================================================================
 # Module build requirements
 # ===================================================================
-BuildRequires:	perl(ExtUtils::MakeMaker)
+BuildRequires:	perl(ExtUtils::MakeMaker) >= 6.30
 # ===================================================================
 # Module requirements
 # ===================================================================
@@ -27,17 +25,17 @@ BuildRequires:	perl(Module::Metadata)
 BuildRequires:	perl(parent)
 BuildRequires:	perl(strict)
 BuildRequires:	perl(Test::Builder)
-BuildRequires:	perl(Test::More)
+BuildRequires:	perl(Test::More) >= 0.88
 BuildRequires:	perl(version) >= 0.86
 BuildRequires:	perl(warnings)
 # ===================================================================
 # Regular test suite requirements
 # ===================================================================
-BuildRequires:	perl(File::Find)
-BuildRequires:	perl(File::Temp)
+BuildRequires:	perl(File::Spec)
+BuildRequires:	perl(IO::Handle)
+BuildRequires:	perl(IPC::Open3)
 BuildRequires:	perl(Scalar::Util)
 BuildRequires:	perl(Test::Exception)
-BuildRequires:	perl(Test::Requires)
 BuildRequires:	perl(Test::Tester)
 # ===================================================================
 # Author/Release test requirements
@@ -49,6 +47,7 @@ BuildRequires:	perl(Test::Tester)
 %if 0%{!?perl_bootstrap:1}
 BuildRequires:	perl(English)
 BuildRequires:	perl(Pod::Coverage::TrustPod)
+BuildRequires:	perl(Pod::Wordlist)
 BuildRequires:	perl(Test::CPAN::Changes)
 BuildRequires:	perl(Test::CPAN::Meta)
 BuildRequires:	perl(Test::CPAN::Meta::JSON)
@@ -56,17 +55,17 @@ BuildRequires:	perl(Test::DistManifest)
 BuildRequires:	perl(Test::EOL)
 BuildRequires:	perl(Test::MinimumVersion)
 BuildRequires:	perl(Test::Mojibake)
+BuildRequires:	perl(Test::More) >= 0.96
 BuildRequires:	perl(Test::Perl::Critic)
 BuildRequires:	perl(Test::Pod) >= 1.41
 BuildRequires:	perl(Test::Pod::Coverage) >= 1.08
+BuildRequires:	perl(Test::Pod::LinkCheck)
 BuildRequires:	perl(Test::Portability::Files)
 BuildRequires:	perl(Test::Synopsis)
 BuildRequires:	perl(Test::Vars)
 # RHEL-7+ package cannot BR: packages from EPEL
 %if ! (0%{?rhel} >= 7)
-BuildRequires:	aspell-en
-BuildRequires:	perl(Pod::Wordlist::hanekomu)
-BuildRequires:	perl(Test::Kwalitee)
+BuildRequires:	hunspell-en
 BuildRequires:	perl(Test::Spelling) >= 0.12
 %endif
 %endif
@@ -82,10 +81,7 @@ versions across your dist are sane.
 %prep
 %setup -q -n Test-Version-%{version}
 
-# Disable Test::Kwalitee's "use_strict" test
-%patch0
-
-# Schwern not in dictionary
+# Some spell checkers check "doesn" rather than "doesn't"
 %patch1
 
 %build
@@ -93,7 +89,6 @@ perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
 make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} \;
 %{_fixperms} %{buildroot}
@@ -101,15 +96,23 @@ find %{buildroot} -type f -name .packlist -exec rm -f {} \;
 %check
 make test %{!?perl_bootstrap:AUTHOR_TESTING=1 RELEASE_TESTING=1}
 
-%clean
-rm -rf %{buildroot}
-
 %files
-%doc Changes LICENSE README
+%doc Changes CONTRIBUTING LICENSE README
 %{perl_vendorlib}/Test/
 %{_mandir}/man3/Test::Version.3pm*
 
 %changelog
+* Tue Oct 15 2013 Paul Howarth <paul at city-fan.org> - 1.002003-1
+- Update to 1.002003
+  - Fix synopsis (https://github.com/xenoterracide/Test-Version/pull/6)
+  - Change Dist::Zilla plugins
+  - Remove old documentation that no longer applies
+  - Fix misgithap
+  - More dist.ini updates
+- Update patches and buildreqs as needed
+- Drop support for old rpm versions as this package's requirements will never
+  be satisfied in EPEL-5
+
 * Wed Aug 14 2013 Jitka Plesnikova <jplesnik at redhat.com> - 1.002001-13
 - Perl 5.18 re-rebuild of bootstrapped packages
 
diff --git a/sources b/sources
index f0cc8f1..3c2400e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-559c7972f89fca6e86809a158a52f7b0  Test-Version-1.002001.tar.gz
+878bb1417cc9b02e0ca022358d396c00  Test-Version-1.002003.tar.gz


More information about the scm-commits mailing list