diff --git a/.cvsignore b/.cvsignore index 04111b7..f4963e1 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -Params-Util-0.31.tar.gz +Params-Util-0.33.tar.gz diff --git a/perl-Params-Util.spec b/perl-Params-Util.spec index 2c75d51..b8c410c 100644 --- a/perl-Params-Util.spec +++ b/perl-Params-Util.spec @@ -1,6 +1,6 @@ Name: perl-Params-Util -Version: 0.31 -Release: 6%{?dist} +Version: 0.33 +Release: 1%{?dist} Summary: Simple standalone param-checking functions License: GPL+ or Artistic Group: Development/Libraries @@ -19,6 +19,10 @@ BuildRequires: perl(Test::MinimumVersion) >= 0.007 # Required by the tests BuildRequires: perl(Test::Pod) >= 1.00 +%if 0%{?fedora} >= 9 +# FIXME: Not available for FC < 10 +BuildRequires: perl(Test::CPAN::Meta) >= 0.07 +%endif %description Params::Util provides a basic set of importable functions that @@ -28,6 +32,11 @@ makes checking parameters a hell of a lot easier. %setup -q -n Params-Util-%{version} find -type f -exec chmod -x {} \; +%if "%{version}" == "0.33" +# Hack around 0.33 failing to find Test::CPAN::Meta +sed -i -e "s,\'Test::CPAN::Meta 0.07\',\'Test::CPAN::Meta\'," t/97_meta.t +%endif + %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} @@ -52,6 +61,11 @@ make test AUTOMATED_TESTING=1 %{_mandir}/man3/* %changelog +* Mon Jun 02 2008 Ralf Corsépius - 0.33-1 +- Upstream update. +- Conditionally BR: perl(Test::CPAN::Meta). +- Hack testsuite to accept Test::CPAN::Meta != 0.07. + * Thu Feb 28 2008 Tom "spot" Callaway - 0.31-6 - Rebuild normally, second pass diff --git a/sources b/sources index 7cd278a..62410db 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -985370df207e331ac8ad9976255f0fd3 Params-Util-0.31.tar.gz +afe29403e9a9e8ccc75b8bfec1206f8e Params-Util-0.33.tar.gz