commit 6d57767429c3e5f3d23166453b8751c38e336e34 Author: Ralf CorsÃpius <corsepiu@xxxxxxxxxxxxxxxxx> Date: Sun May 1 07:13:31 2011 +0200 Upstream update. Spec cleanup. Rework BR's. Reflect upstream having abandoned AUTHOR_TESTING. Make spell-checking tests working/work-around aspell/hunspell/perl(Test::Spelling) issues (add Params-Validate-0.98.diff). .gitignore | 1 + Params-Validate-0.98.diff | 22 ++++++++++++++++++++++ perl-Params-Validate.spec | 40 +++++++++++++++++++++++++--------------- sources | 2 +- 4 files changed, 49 insertions(+), 16 deletions(-) --- diff --git a/.gitignore b/.gitignore index 3846a45..f50910d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ Params-Validate-0.95.tar.gz +/Params-Validate-0.98.tar.gz diff --git a/Params-Validate-0.98.diff b/Params-Validate-0.98.diff new file mode 100644 index 0000000..98dc81a --- /dev/null +++ b/Params-Validate-0.98.diff @@ -0,0 +1,22 @@ +--- Params-Validate-0.98/t/release-pod-spell.t.orig 2011-04-23 19:06:15.000000000 +0200 ++++ Params-Validate-0.98/t/release-pod-spell.t 2011-05-01 06:43:23.722718323 +0200 +@@ -31,11 +31,19 @@ + all_pod_files_spelling_ok(); + + __DATA__ ++' ++'' ++API + baz ++CPAN + GLOBREF ++'globals' + Martynov ++onwards ++OO + PayPal + pre ++Rolsky + runtime + SCALARREF + ValidatePos diff --git a/perl-Params-Validate.spec b/perl-Params-Validate.spec index 8f3479f..054259d 100644 --- a/perl-Params-Validate.spec +++ b/perl-Params-Validate.spec @@ -1,29 +1,34 @@ Summary: Params-Validate Perl module Name: perl-Params-Validate -Version: 0.95 -Release: 4%{?dist} +Version: 0.98 +Release: 1%{?dist} License: GPL+ or Artistic 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 -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +# Hacks to make spell checking tests work with hunspell +Patch0: Params-Validate-0.98.diff Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildRequires: perl(ExtUtils::CBuilder) BuildRequires: perl(Pod::Man) -# N/A in Fedora: BuildRequires: perl(Module::Build) >= 0.36 -BuildRequires: perl(Module::Build) +BuildRequires: perl(Module::Build) >= 0.3601 # Required by the tests BuildRequires: perl(Test::Taint) BuildRequires: perl(Readonly) BuildRequires: perl(Readonly::XS) -# For improved tests -BuildRequires: perl(Test::Kwalitee) -BuildRequires: perl(Test::Pod::Coverage) -BuildRequires: perl(Test::Pod) +# For release testing tests +# Optional, not yet in Fedora: 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::Spelling) +BuildRequires: hunspell-en %description The Params::Validate module allows you to validate method or function @@ -36,24 +41,21 @@ certain methods, or applying validation callbacks to arguments. %prep %setup -q -n Params-Validate-%{version} +%patch0 -p1 +sed -i -e "s,set_spell_cmd(.*),set_spell_cmd(\'hunspell -l\')," t/release-pod-spell.t %build %{__perl} Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS" ./Build %install -rm -rf $RPM_BUILD_ROOT ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' %{_fixperms} $RPM_BUILD_ROOT/* - -%clean -rm -rf $RPM_BUILD_ROOT - %check -AUTHOR_TESTING=1 ./Build test +RELEASE_TESTING=1 ./Build test %files %defattr(-,root,root,-) @@ -64,6 +66,14 @@ AUTHOR_TESTING=1 ./Build test %{_mandir}/man3/* %changelog +* Sat Apr 30 2011 Ralf CorsÃpius <corsepiu@xxxxxxxxxxxxxxxxx> - 0.98-1 +- Upstream update. +- Spec cleanup. +- Rework BR's. +- Reflect upstream having abandoned AUTHOR_TESTING. +- Make spell-checking tests working/work-around aspell/hunspell/perl(Test::Spelling) + issues (add Params-Validate-0.98.diff). + * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.95-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild diff --git a/sources b/sources index 55c4d38..0c1d3a0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -f544f12357ae4ba44044cd8cb2b83a9f Params-Validate-0.95.tar.gz +6dacb26b1bdb6338b6eed45cd86958bb Params-Validate-0.98.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel