[perl-Test-Pod/f12/master] Semi-merge with F-14
Petr Sabata
psabata at fedoraproject.org
Thu Sep 2 08:40:00 UTC 2010
commit a8f14e38fe38ca228fa8892ee90f25ece7f89e61
Author: Petr Sabata <psabata at redhat.com>
Date: Thu Sep 2 10:39:54 2010 +0200
Semi-merge with F-14
.gitignore | 2 +-
perl-Test-Pod.spec | 52 ++++++++++++++++++++++++++++++++++++++--------------
sources | 2 +-
3 files changed, 40 insertions(+), 16 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 0c5fd53..c282d6a 100644
--- a/perl-Test-Pod.spec
+++ b/perl-Test-Pod.spec
@@ -1,22 +1,28 @@
Name: perl-Test-Pod
-Version: 1.40
+Version: 1.44
Release: 1%{?dist}
-Summary: Perl module for checking for POD errors in files
+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 at redhat.com> - 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 Oct 30 2009 Stepan Kasal <skasal at redhat.com> - 1.40-1
- new upstream version
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
More information about the scm-commits
mailing list