[perl-Test-Kwalitee] Update to 1.07

Paul Howarth pghmcfc at fedoraproject.org
Sat Jun 29 19:22:44 UTC 2013


commit 924e93113308386d65aea73f168e4c137179a357
Author: Paul Howarth <paul at city-fan.org>
Date:   Sat Jun 29 20:21:39 2013 +0100

    Update to 1.07
    
    - New upstream release 1.07
      - Now the indicators are run in the exact order they are returned from
        Module::CPANTS::Kwalitee::*, as some tests depend on the results of
        earlier tests
      - Synopsis updated to recommend a better way to run this module, ensuring
        that it is not run by cpantesters or at installation time
      - We no longer create a function in our namespace for every metric we are
        going to test; this should not break anyone, as these subs were never
        documented as part of the public API
      - Switch to Module::Build::Tiny flow
    - BR: perl(namespace::clean) for module
    - Bump version requirement for perl(Test::CheckDeps) to 0.006
    - Don't bother with the extra tests (and their requirements) since
      Module::Build::Tiny doesn't provide any convenient method to run them

 Test-Kwalitee-1.03-spelling.patch |   12 --------
 perl-Test-Kwalitee.spec           |   55 ++++++++++++++++---------------------
 sources                           |    2 +-
 3 files changed, 25 insertions(+), 44 deletions(-)
---
diff --git a/perl-Test-Kwalitee.spec b/perl-Test-Kwalitee.spec
index f44f26e..500d65e 100644
--- a/perl-Test-Kwalitee.spec
+++ b/perl-Test-Kwalitee.spec
@@ -1,42 +1,27 @@
 #TODO: BR: perl(Test::Pod::No404s) when available
 
 Name:		perl-Test-Kwalitee
-Version:	1.06
+Version:	1.07
 Release:	1%{?dist}
 Summary:	Test the Kwalitee of a distribution before you release it
 License:	GPL+ or Artistic
 Group:		Development/Libraries
 URL:		http://metacpan.org/module/Test::Kwalitee
 Source0:	http://cpan.metacpan.org/authors/id/E/ET/ETHER/Test-Kwalitee-%{version}.tar.gz
-Patch5:		Test-Kwalitee-1.03-spelling.patch
 BuildArch:	noarch
 # Build
-BuildRequires:	perl(ExtUtils::MakeMaker)
+BuildRequires:	perl(Module::Build::Tiny) >= 0.023
 # Module
 BuildRequires:	perl(Cwd)
 BuildRequires:	perl(Module::CPANTS::Analyse) >= 0.87
+BuildRequires:	perl(namespace::clean)
 BuildRequires:	perl(Test::Builder)
 # Test Suite
 BuildRequires:	perl(File::Temp)
-BuildRequires:	perl(Test::CheckDeps)
+BuildRequires:	perl(Test::CheckDeps) >= 0.006
 BuildRequires:	perl(Test::Deep)
 BuildRequires:	perl(Test::More) >= 0.94
 BuildRequires:	perl(Test::Tester) >= 0.108
-# Extra Tests
-%if 0%{!?perl_bootstrap:1}
-BuildRequires:	perl(Pod::Coverage::TrustPod) 
-BuildRequires:	perl(Pod::Wordlist::hanekomu) 
-BuildRequires:	perl(Test::CPAN::Changes) 
-BuildRequires:	perl(Test::CPAN::Meta) 
-BuildRequires:	perl(Test::EOL) 
-BuildRequires:	perl(Test::MinimumVersion) 
-BuildRequires:	perl(Test::More) >= 0.96
-BuildRequires:	perl(Test::NoTabs) 
-BuildRequires:	perl(Test::Pod) >= 1.41 
-BuildRequires:	perl(Test::Pod::Coverage) >= 1.08 
-BuildRequires:	perl(Test::Spelling) >= 0.12, aspell-en 
-BuildRequires:	perl(Test::Version) 
-%endif
 # Runtime
 Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
@@ -49,23 +34,15 @@ computer science).
 %prep
 %setup -q -n Test-Kwalitee-%{version}
 
-# Words that should be in the dictionary but aren't 
-%patch5
-
 %build
-perl Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
+perl Build.PL --installdirs=vendor
+./Build
 
 %install
-make pure_install DESTDIR=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
-%{_fixperms} %{buildroot}
+./Build install --destdir=%{buildroot} --create_packlist=0
 
 %check
-make test
-%if 0%{!?perl_bootstrap:1} 
-make test TEST_FILES="$(echo $(find xt/ -name '*.t'))" 
-%endif
+./Build test
 
 %files
 %doc Changes LICENSE README
@@ -73,6 +50,22 @@ make test TEST_FILES="$(echo $(find xt/ -name '*.t'))"
 %{_mandir}/man3/Test::Kwalitee.3pm*
 
 %changelog
+* Sat Jun 29 2013 Paul Howarth <paul at city-fan.org> - 1.07-1
+- Update to 1.07
+  - Now the indicators are run in the exact order they are returned from
+    Module::CPANTS::Kwalitee::*, as some tests depend on the results of
+    earlier tests
+  - Synopsis updated to recommend a better way to run this module, ensuring
+    that it is not run by cpantesters or at installation time
+  - We no longer create a function in our namespace for every metric we are
+    going to test; this should not break anyone, as these subs were never
+    documented as part of the public API
+  - Switch to Module::Build::Tiny flow
+- BR: perl(namespace::clean) for module
+- Bump version requirement for perl(Test::CheckDeps) to 0.006
+- Don't bother with the extra tests (and their requirements) since
+  Module::Build::Tiny doesn't provide any convenient method to run them
+
 * Tue May 14 2013 Paul Howarth <paul at city-fan.org> - 1.06-1
 - Update to 1.06
   - Restore previous behaviour of plan()ing in import, to unbreak some dists
diff --git a/sources b/sources
index 5d2873d..8c70e86 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a9654f2e8b40af56c7979c5b0309f7b4  Test-Kwalitee-1.06.tar.gz
+395ca94113873a5dae43dab791b79f0a  Test-Kwalitee-1.07.tar.gz


More information about the scm-commits mailing list