[perl-Test-Kwalitee] Update to 1.04

Paul Howarth pghmcfc at fedoraproject.org
Mon May 6 19:24:30 UTC 2013


commit 37da3ec54146800916bc15d79a255a8b34beeccd
Author: Paul Howarth <paul at city-fan.org>
Date:   Wed May 1 12:23:55 2013 +0100

    Update to 1.04
    
    - New upstream release 1.04
      - Fixed documentation to refer to the proper names of Kwalitee tests
        (CPAN RT#24506)
      - Cleaned up partially-botched distribution metadata and README
    - Classify buildreqs by usage
    - Add buildreqs for new tests
    - Explicitly run extra tests unless bootstrapping

 Test-Kwalitee-1.03-spelling.patch |   12 ++++++++
 perl-Test-Kwalitee.spec           |   54 ++++++++++++++++++++++++++++++-------
 sources                           |    2 +-
 3 files changed, 57 insertions(+), 11 deletions(-)
---
diff --git a/Test-Kwalitee-1.03-spelling.patch b/Test-Kwalitee-1.03-spelling.patch
new file mode 100644
index 0000000..18ad10e
--- /dev/null
+++ b/Test-Kwalitee-1.03-spelling.patch
@@ -0,0 +1,12 @@
+--- xt/author/pod-spell.t
++++ xt/author/pod-spell.t
+@@ -9,7 +9,9 @@
+ add_stopwords(<DATA>);
+ all_pod_files_spelling_ok( qw( bin lib  ) );
+ __DATA__
++ACKNOWLEDGEMENTS
+ chromatic
++gauge
+ lib
+ Test
+ Kwalitee
diff --git a/perl-Test-Kwalitee.spec b/perl-Test-Kwalitee.spec
index c2207f1..b6d286f 100644
--- a/perl-Test-Kwalitee.spec
+++ b/perl-Test-Kwalitee.spec
@@ -1,23 +1,42 @@
+#TODO: BR: perl(Test::Pod::No404s) when available
+
 Name:		perl-Test-Kwalitee
-Version:	1.02
+Version:	1.04
 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
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
 BuildArch:	noarch
-BuildRequires:	perl(Cwd)
+# Build
 BuildRequires:	perl(ExtUtils::MakeMaker)
-BuildRequires:	perl(Module::CPANTS::Analyse) >= 0.82
-BuildRequires:	perl(strict)
+# Module
+BuildRequires:	perl(Cwd)
+BuildRequires:	perl(Module::CPANTS::Analyse) >= 0.87
 BuildRequires:	perl(Test::Builder)
-BuildRequires:	perl(Test::Pod::Coverage) >= 1.04
-BuildRequires:	perl(Test::Pod) >= 1.14
-BuildRequires:	perl(Test::Simple) >= 0.47
-BuildRequires:	perl(vars)
-BuildRequires:	perl(warnings)
+# Test Suite
+BuildRequires:	perl(File::Temp)
+BuildRequires:	perl(Test::CheckDeps)
+BuildRequires:	perl(Test::More) >= 0.94
+# 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))
 
 %description
@@ -29,6 +48,9 @@ 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}
@@ -41,6 +63,9 @@ find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
 
 %check
 make test
+%if 0%{!?perl_bootstrap:1} 
+make test TEST_FILES="$(echo $(find xt/ -name '*.t'))" 
+%endif
 
 %clean
 rm -rf %{buildroot}
@@ -51,7 +76,16 @@ rm -rf %{buildroot}
 %{_mandir}/man3/Test::Kwalitee.3pm*
 
 %changelog
-* Mon Apr  1 2013  Paul Howarth <paul at city-fan.org> - 1.02-1
+* Wed May  1 2013 Paul Howarth <paul at city-fan.org> - 1.04-1
+- Update to 1.04
+  - Fixed documentation to refer to the proper names of Kwalitee tests
+    (CPAN RT#24506)
+  - Cleaned up partially-botched distribution metadata and README
+- Classify buildreqs by usage
+- Add buildreqs for new tests
+- Explicitly run extra tests unless bootstrapping
+
+* Mon Apr  1 2013 Paul Howarth <paul at city-fan.org> - 1.02-1
 - Update to 1.02
   - No operational changes - re-releasing under new management via github and
     Dist::Zilla
diff --git a/sources b/sources
index 2c63e7a..2d5933e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-0d3a5e76057ecdae20b836bf5804dc5a  Test-Kwalitee-1.02.tar.gz
+3d8278bcec61044ce8a4ec1dfe4abc43  Test-Kwalitee-1.04.tar.gz



More information about the perl-devel mailing list