Upstream update.
- Drop Params-Validate-1.00-no-pod-coverage.patch. - Spec file cleanup.
This commit is contained in:
parent
a6119c348e
commit
0bc0c7a41d
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
/Params-Validate-1.00.tar.gz
|
||||
/Params-Validate-1.01.tar.gz
|
||||
|
||||
@ -1,11 +0,0 @@
|
||||
--- 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 $@;
|
||||
@ -1,7 +1,7 @@
|
||||
Summary: Params-Validate Perl module
|
||||
Name: perl-Params-Validate
|
||||
Version: 1.00
|
||||
Release: 5%{?dist}
|
||||
Version: 1.01
|
||||
Release: 1%{?dist}
|
||||
License: Artistic2.0
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/Params-Validate/
|
||||
@ -9,25 +9,32 @@ 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))
|
||||
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(ExtUtils::CBuilder)
|
||||
BuildRequires: perl(Module::Build) >= 0.3601
|
||||
|
||||
# Required by the tests
|
||||
BuildRequires: perl(Test::Taint)
|
||||
BuildRequires: perl(Readonly)
|
||||
BuildRequires: perl(Readonly::XS)
|
||||
BuildRequires: perl(Devel::Peek)
|
||||
BuildRequires: perl(File::Spec)
|
||||
BuildRequires: perl(File::Temp)
|
||||
BuildRequires: perl(Test::More) >= 0.88
|
||||
BuildRequires: perl(Test::Taint) >= 0.02
|
||||
BuildRequires: perl(Tie::Array)
|
||||
BuildRequires: perl(Tie::Hash)
|
||||
BuildRequires: perl(Readonly)
|
||||
BuildRequires: perl(Readonly::XS)
|
||||
|
||||
# For release testing tests
|
||||
BuildRequires: perl(Test::CPAN::Changes)
|
||||
BuildRequires: perl(Test::EOL)
|
||||
BuildRequires: perl(Test::NoTabs)
|
||||
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
|
||||
BuildRequires: perl(Test::Pod) >= 1.41
|
||||
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
|
||||
# Optional, not (yet) in Fedora: BuildRequires: perl(Test::Pod::LinkCheck)
|
||||
# Optional, not (yet) in Fedora: BuildRequires: perl(Test::Pod::No404s)
|
||||
BuildRequires: perl(Test::Spelling)
|
||||
BuildRequires: hunspell-en
|
||||
|
||||
@ -45,7 +52,6 @@ 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
|
||||
@ -70,6 +76,11 @@ RELEASE_TESTING=1 ./Build test
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Mon Feb 06 2012 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.01-1
|
||||
- Upstream update.
|
||||
- Drop Params-Validate-1.00-no-pod-coverage.patch.
|
||||
- Spec file cleanup.
|
||||
|
||||
* Sun Jan 22 2012 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.00-5
|
||||
- Add %%{perl_default_filter}.
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user