- Upstream update.
- Conditionally activate IS_MAINTAINER tests.
This commit is contained in:
parent
58ed53f801
commit
71cdfe385a
@ -1 +1 @@
|
||||
Params-Validate-0.89.tar.gz
|
||||
Params-Validate-0.91.tar.gz
|
||||
|
||||
@ -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 <rc040203@freenet.de> - 0.91-1
|
||||
- Upstream update.
|
||||
- Conditionally activate IS_MAINTAINER tests.
|
||||
|
||||
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.89-4
|
||||
- Rebuild for perl 5.10 (again)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user