- Upstream update.
- Conditionally BR: perl(Test::CPAN::Meta). - Hack testsuite to accept Test::CPAN::Meta != 0.07.
This commit is contained in:
parent
90ad116265
commit
fef6a8867f
@ -1 +1 @@
|
||||
Params-Util-0.31.tar.gz
|
||||
Params-Util-0.33.tar.gz
|
||||
|
||||
@ -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 <rc040203@freenet.de> - 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 <tcallawa@redhat.com> - 0.31-6
|
||||
- Rebuild normally, second pass
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user