[perl-Params-Validate] Upstream update. Deactivate t/release-pod-coverage.t (Add Params-Validate-1.00-no-pod-coverage.patch

corsepiu corsepiu at fedoraproject.org
Thu Jun 30 10:48:31 UTC 2011


commit 4d569faffe21253dd91d20eb867ae7b19de36eaf
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date:   Thu Jun 30 12:48:13 2011 +0200

    Upstream update.
    Deactivate t/release-pod-coverage.t
    (Add Params-Validate-1.00-no-pod-coverage.patch).

 .gitignore                                 |    2 +-
 Params-Validate-1.00-no-pod-coverage.patch |   11 +++++++++++
 perl-Params-Validate.spec                  |   12 ++++++++++--
 sources                                    |    2 +-
 4 files changed, 23 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 7d87d7b..dfa21a7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/Params-Validate-0.99.tar.gz
+/Params-Validate-1.00.tar.gz
diff --git a/Params-Validate-1.00-no-pod-coverage.patch b/Params-Validate-1.00-no-pod-coverage.patch
new file mode 100644
index 0000000..3b65b3d
--- /dev/null
+++ b/Params-Validate-1.00-no-pod-coverage.patch
@@ -0,0 +1,11 @@
+--- Params-Validate-1.00.orig/t/release-pod-coverage.t	2011-06-11 16:26:01.000000000 +0200
++++ Params-Validate-1.00/t/release-pod-coverage.t	2011-06-30 12:16:04.897533344 +0200
+@@ -11,6 +11,8 @@
+ 
+ use Test::More;
+ 
++plan skip_all => 'Test disabled, POD coverage is incomplete';
++
+ eval "use Test::Pod::Coverage 1.04";
+ plan skip_all => "Test::Pod::Coverage 1.04 required for testing POD coverage"
+     if $@;
diff --git a/perl-Params-Validate.spec b/perl-Params-Validate.spec
index 5dffa17..e4b850f 100644
--- a/perl-Params-Validate.spec
+++ b/perl-Params-Validate.spec
@@ -1,7 +1,7 @@
 Summary: 	Params-Validate Perl module
 Name: 		perl-Params-Validate
-Version: 	0.99
-Release: 	3%{?dist}
+Version: 	1.00
+Release: 	1%{?dist}
 License: 	Artistic2.0
 Group: 		Development/Libraries
 URL: 		http://search.cpan.org/dist/Params-Validate/
@@ -9,6 +9,8 @@ Source0: 	http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Params-Validate-%{
 
 # Hacks to make spell checking tests work with hunspell
 Patch0:         Params-Validate-0.99.diff
+# Pod support is incomplete and kills release-testing testsuite
+Patch1:         Params-Validate-1.00-no-pod-coverage.patch
 
 Requires:  	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
@@ -41,6 +43,7 @@ certain methods, or applying validation callbacks to arguments.
 %prep
 %setup -q -n Params-Validate-%{version}
 %patch0 -p1
+%patch1 -p1
 sed -i -e "s,set_spell_cmd(.*),set_spell_cmd(\'hunspell -l\')," t/release-pod-spell.t
 
 %build
@@ -65,6 +68,11 @@ RELEASE_TESTING=1 ./Build test
 %{_mandir}/man3/*
 
 %changelog
+* Thu Jun 30 2011 Ralf Corsépius <corsepiu at fedoraproject.org> - 1.00-1
+- Upstream update.
+- Deactivate t/release-pod-coverage.t 
+  (Add Params-Validate-1.00-no-pod-coverage.patch).
+
 * Thu Jun 30 2011 Ralf Corsépius <corsepiu at fedoraproject.org> - 0.99-3
 - Fix up bogus Tue Jun 28 2011 changelog entry.
 - Fix License (Artistic2.0).
diff --git a/sources b/sources
index a862c83..54c7aea 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-218b0e970b3568eeddf83f65b24657f6  Params-Validate-0.99.tar.gz
+e8989f5686de4cd916cd973ccf097625  Params-Validate-1.00.tar.gz



More information about the perl-devel mailing list