diff --git a/.cvsignore b/.cvsignore index 1dd4673..9e82e3e 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -Params-Validate-0.89.tar.gz +Params-Validate-0.91.tar.gz diff --git a/perl-Params-Validate.spec b/perl-Params-Validate.spec index 212c59c..6301863 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.89 -Release: 4%{?dist} +Version: 0.91 +Release: 1%{?dist} License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Params-Validate/ @@ -16,6 +16,13 @@ BuildRequires: perl(Test::Taint) BuildRequires: perl(Readonly) BuildRequires: perl(Readonly::XS) +# Not available in Fedora +# BuildRequires: perl(Test::Kwalitee) + +# For improved tests +BuildRequires: perl(Test::Pod::Coverage) +BuildRequires: perl(Test::Pod) + %description The Params::Validate module allows you to validate method or function call parameters to an arbitrary level of specificity. At the simplest @@ -44,7 +51,12 @@ chmod -R u+w $RPM_BUILD_ROOT/* rm -rf $RPM_BUILD_ROOT %check +%if "%{version}" > "0.91" +# pod-coverage is too broken +make test IS_MAINTAINER=1 +%else make test +%endif %files %defattr(-,root,root,-) @@ -55,6 +67,10 @@ make test %{_mandir}/man3/* %changelog +* Tue Jun 10 2008 Ralf Corsépius - 0.91-1 +- Upstream update. +- Conditionally activate IS_MAINTAINER tests. + * Wed Feb 27 2008 Tom "spot" Callaway - 0.89-4 - Rebuild for perl 5.10 (again) diff --git a/sources b/sources index abf4c70..3ca16ed 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b53ff2b9595623aaa4f98d8b31a5a1c2 Params-Validate-0.89.tar.gz +22c5467a1d4673374a1b7b2dbcfd473e Params-Validate-0.91.tar.gz