[perl-Test-Version] Fix FTBFS with current test modules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit ed0306e6e89f1870c3b8157eafb2f179e3ab258a
Author: Paul Howarth <paul@xxxxxxxxxxxx>
Date:   Fri Jun 14 11:25:58 2013 +0100

    Fix FTBFS with current test modules
    
    - Disable Test::Kwalitee's "use_strict" test
    - Schwern not in dictionary

 Test-Version-1.002001-kwalitee.patch |   15 +++++++++++++++
 Test-Version-1.002001-spelling.patch |    9 +++++++++
 perl-Test-Version.spec               |   15 ++++++++++++++-
 3 files changed, 38 insertions(+), 1 deletions(-)
---
diff --git a/Test-Version-1.002001-kwalitee.patch b/Test-Version-1.002001-kwalitee.patch
new file mode 100644
index 0000000..66a8720
--- /dev/null
+++ b/Test-Version-1.002001-kwalitee.patch
@@ -0,0 +1,15 @@
+Test::Kwalitee didn't used to check for strict when this module was released.
+
+--- t/release-kwalitee.t
++++ t/release-kwalitee.t
+@@ -12,6 +12,9 @@
+ use strict;
+ use warnings;
+ use Test::More;   # needed to provide plan.
+-eval "use Test::Kwalitee";
+ 
++eval {
++    require Test::Kwalitee;
++    Test::Kwalitee->import( tests => [ qw( -use_strict ) ] );
++};
+ plan skip_all => "Test::Kwalitee required for testing kwalitee" if $@;
diff --git a/Test-Version-1.002001-spelling.patch b/Test-Version-1.002001-spelling.patch
new file mode 100644
index 0000000..8cfe21e
--- /dev/null
+++ b/Test-Version-1.002001-spelling.patch
@@ -0,0 +1,9 @@
+--- t/author-pod-spell.t
++++ t/author-pod-spell.t
+@@ -24,5 +24,6 @@
+ Caleb
+ Cushing
+ lib
++Schwern
+ Test
+ Version
diff --git a/perl-Test-Version.spec b/perl-Test-Version.spec
index d38bfdb..fce81b1 100644
--- a/perl-Test-Version.spec
+++ b/perl-Test-Version.spec
@@ -3,12 +3,14 @@
 
 Name:		perl-Test-Version
 Version:	1.002001
-Release:	9%{?dist}
+Release:	10%{?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)
 BuildArch:	noarch
 # ===================================================================
@@ -80,6 +82,12 @@ 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
+%patch1
+
 %build
 perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
@@ -102,6 +110,11 @@ rm -rf %{buildroot}
 %{_mandir}/man3/Test::Version.3pm*
 
 %changelog
+* Fri Jun 14 2013 Paul Howarth <paul@xxxxxxxxxxxx> - 1.002001-10
+- Fix FTBFS with current test modules
+  - Disable Test::Kwalitee's "use_strict" test
+  - Schwern not in dictionary
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.002001-9
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux