Upstream update.

- Update patch.
- Update BRs.
- Add %bcond --with network.
- Fix up %changelog dates.
This commit is contained in:
Ralf Corsépius 2013-06-11 17:47:13 +02:00
parent 5024d40859
commit c884eae55e
5 changed files with 49 additions and 30 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
/Params-Validate-1.07.tar.gz
/Params-Validate-1.08.tar.gz

View File

@ -1,18 +0,0 @@
--- Params-Validate-0.99.orig/t/release-pod-spell.t 2011-05-27 23:59:33.000000000 +0200
+++ Params-Validate-0.99/t/release-pod-spell.t 2011-05-31 08:37:29.073051734 +0200
@@ -31,11 +31,15 @@
all_pod_files_spelling_ok();
__DATA__
+'
+''
API
baz
CPAN
GLOBREF
+'globals'
Martynov
+onwards
OO
PayPal
pre

21
Params-Validate-1.08.diff Normal file
View File

@ -0,0 +1,21 @@
diff -Naur Params-Validate-1.08.orig/t/release-pod-spell.t Params-Validate-1.08/t/release-pod-spell.t
--- Params-Validate-1.08.orig/t/release-pod-spell.t 2013-06-07 21:34:33.000000000 +0200
+++ Params-Validate-1.08/t/release-pod-spell.t 2013-06-11 14:35:21.718579174 +0200
@@ -29,8 +29,9 @@
# https://bugs.launchpad.net/ubuntu/+source/aspell/+bug/71322
local $ENV{LC_ALL} = 'C';
all_pod_files_spelling_ok();
-
__DATA__
+'
+''
API
CPAN
GLOBREF
@@ -42,5 +43,6 @@
ValidatePos
baz
onwards
+'globals'
pre
runtime

View File

@ -1,14 +1,21 @@
# Supported rpmbuild options:
#
# --with network/--without network
# include/exclude networked tests, which work in mock, but don't work in koji
# Default: --without (Exclude tests, which don't work in koji)
%bcond_with network
Summary: Params-Validate Perl module
Name: perl-Params-Validate
Version: 1.07
Release: 2%{?dist}
Version: 1.08
Release: 1%{?dist}
License: Artistic2.0
Group: Development/Libraries
URL: http://search.cpan.org/dist/Params-Validate/
Source0: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Params-Validate-%{version}.tar.gz
# Hacks to make spell checking tests work with hunspell
Patch0: Params-Validate-0.99.diff
Patch0: Params-Validate-1.08.diff
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
@ -42,8 +49,9 @@ BuildRequires: perl(Test::EOL)
BuildRequires: perl(Test::NoTabs)
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::Pod::LinkCheck)
BuildRequires: perl(Test::Pod::No404s)
BuildRequires: perl(LWP::Protocol::https)
BuildRequires: perl(Test::Spelling)
BuildRequires: hunspell-en
@ -74,7 +82,7 @@ find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
%{_fixperms} $RPM_BUILD_ROOT/*
%check
RELEASE_TESTING=1 ./Build test
RELEASE_TESTING=1 %{!?with_network:SKIP_POD_NO404S=1} ./Build test
%files
%defattr(-,root,root,-)
@ -85,6 +93,13 @@ RELEASE_TESTING=1 ./Build test
%{_mandir}/man3/*
%changelog
* Tue Jun 11 2013 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.08-1
- Upstream update.
- Update patch.
- Update BRs.
- Add %%bcond --with network.
- Fix up %%changelog dates.
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.07-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
@ -106,7 +121,7 @@ RELEASE_TESTING=1 ./Build test
* Mon Mar 19 2012 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.06-1
- Upstream update.
* Wed Feb 09 2012 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.05-1
* Thu Feb 09 2012 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.05-1
- Upstream update.
* Mon Feb 06 2012 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.01-1
@ -164,7 +179,7 @@ RELEASE_TESTING=1 ./Build test
* Wed Mar 03 2010 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.95-1
- Upstream update.
* Thu Dec 15 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.94-1
* Tue Dec 15 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.94-1
- Upstream update.
- Reflect upstream having reworked author tests to using AUTHOR_TESTING=1.
@ -217,7 +232,7 @@ RELEASE_TESTING=1 ./Build test
* Sun Aug 13 2006 Ralf Corsépius <rc040203@freenet.de> - 0.86-1
- Upstream update.
* Mon Jun 28 2006 Ralf Corsépius <rc040203@freenet.de> - 0.85-1
* Wed Jun 28 2006 Ralf Corsépius <rc040203@freenet.de> - 0.85-1
- Upstream update.
* Mon Jun 05 2006 Ralf Corsépius <rc040203@freenet.de> - 0.84-1
@ -226,10 +241,10 @@ RELEASE_TESTING=1 ./Build test
* Sun May 21 2006 Ralf Corsépius <rc040203@freenet.de> - 0.82-1
- Upstream update.
* Wed Apr 04 2006 Ralf Corsépius <rc040203@freenet.de> - 0.81-1
* Tue Apr 04 2006 Ralf Corsépius <rc040203@freenet.de> - 0.81-1
- Upstream update.
* Wed Feb 20 2006 Ralf Corsépius <rc040203@freenet.de> - 0.80-2
* Mon Feb 20 2006 Ralf Corsépius <rc040203@freenet.de> - 0.80-2
- Rebuild.
* Wed Feb 01 2006 Ralf Corsépius <rc040203@freenet.de> - 0.80-1

View File

@ -1 +1 @@
7cb0e18bd547f3ba9c492712d1795ac6 Params-Validate-1.07.tar.gz
5edfb0ffd92cbb0e2646ddf23d4516e9 Params-Validate-1.08.tar.gz