commit a33a9572e249705cf5f13a416ceb6c4762f77143 Author: Petr Sabata <psabata@xxxxxxxxxx> Date: Thu Sep 2 10:12:17 2010 +0200 F-14 semi-merge. .gitignore | 2 +- perl-Test-Pod.spec | 54 +++++++++++++++++++++++++++++++++++++-------------- sources | 2 +- 3 files changed, 41 insertions(+), 17 deletions(-) --- diff --git a/.gitignore b/.gitignore index bd3a096..99074df 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -Test-Pod-1.40.tar.gz +Test-Pod-1.44.tar.gz diff --git a/perl-Test-Pod.spec b/perl-Test-Pod.spec index c7b9873..2337b15 100644 --- a/perl-Test-Pod.spec +++ b/perl-Test-Pod.spec @@ -1,22 +1,28 @@ Name: perl-Test-Pod -Version: 1.40 -Release: 2%{?dist} -Summary: Perl module for checking for POD errors in files +Version: 1.44 +Release: 1%{?dist} +Summary: Test POD files for correctness Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/Test-Pod/ -Source0: http://www.cpan.org/authors/id/P/PE/PETDANCE/Test-Pod-%{version}.tar.gz +Source0: http://search.cpan.org/CPAN/authors/id/D/DW/DWHEELER/Test-Pod-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch -BuildRequires: perl(Pod::Simple) >= 3.07 +BuildRequires: perl(File::Spec) +BuildRequires: perl(Module::Build) >= 0.30 +BuildRequires: perl(Pod::Simple) >= 3.05 BuildRequires: perl(Test::Builder::Tester) >= 1.02 BuildRequires: perl(Test::More) >= 0.62 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(Pod::Simple) >= 3.05 +Requires: perl(Test::Builder::Tester) >= 1.02 +Requires: perl(Test::More) >= 0.62 %description -%{summary}. +Check POD files for errors or warnings in a test file, using Pod::Simple to do +the heavy lifting. %prep @@ -24,20 +30,19 @@ Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $versi %build -%{__perl} Makefile.PL INSTALLDIRS=vendor -make %{?_smp_mflags} +%{__perl} Build.PL installdirs=vendor +./Build %install rm -rf $RPM_BUILD_ROOT -make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT -find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' -find $RPM_BUILD_ROOT -depth -type d -empty -exec rmdir {} ';' -chmod -R u+w $RPM_BUILD_ROOT/* +./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} \; 2>/dev/null +%{_fixperms} $RPM_BUILD_ROOT %check -make test +LC_ALL=C ./Build test %clean @@ -46,12 +51,31 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) -%doc Changes +%doc Changes README %{perl_vendorlib}/Test/ -%{_mandir}/man3/*.3pm* +%{_mandir}/man3/Test::Pod.3pm* %changelog +* Thu Sep 2 2010 Petr Sabata <psabata@xxxxxxxxxx> - 1.44-1 +- Update to 1.44, semi-merge with F-14 +- Changes done by Paul Howarth, 2010-07-31: + - update to 1.44: + - use Module::Build::Compat's "traditional" configuration + - loosen version requirements for Test::More and Pod::Simple + - add File::Spec to the list of prereqs + - drop perl(Test::More) version requirement to 0.62 + - drop perl(Pod::Simple) version requirement to 3.05 +- Changes done by Paul Howarth, 2010-03-11: + - update to 1.42 + - new upstream maintainer + - use Module::Build flow + - include README + - use less generic %%description and %%summary + - use _fixperms macro instead of our own chmod incantation + - bump Test::More build requirement to 0.70 + - add versioned requires for Pod::Simple, Test::Builder::Tester and Test::More + * Fri Dec 4 2009 Stepan Kasal <skasal@xxxxxxxxxx> - 1.40-2 - rebuild against perl 5.10.1 diff --git a/sources b/sources index 3a5aff3..472cd25 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -de975155ed1afb430b70456e2db00b29 Test-Pod-1.40.tar.gz +02380af5539521524d5df17273a57ae7 Test-Pod-1.44.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