[perl-Test-Pod] 1.48 bump, Pod::Simple compatibility enhancements

Petr Šabata psabata at fedoraproject.org
Mon May 6 10:36:09 UTC 2013


commit c9f426d54d2bdbfdf8cdef83a8b71741ae590191
Author: Petr Šabata <contyk at redhat.com>
Date:   Mon May 6 12:36:02 2013 +0200

    1.48 bump, Pod::Simple compatibility enhancements

 .gitignore         |    1 +
 perl-Test-Pod.spec |   25 +++++++++++--------------
 sources            |    2 +-
 3 files changed, 13 insertions(+), 15 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 4e46822..8c87b0c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 Test-Pod-1.44.tar.gz
 /Test-Pod-1.45.tar.gz
 /Test-Pod-1.46.tar.gz
+/Test-Pod-1.48.tar.gz
diff --git a/perl-Test-Pod.spec b/perl-Test-Pod.spec
index 03033e4..a4541f9 100644
--- a/perl-Test-Pod.spec
+++ b/perl-Test-Pod.spec
@@ -1,20 +1,22 @@
 Name:           perl-Test-Pod
-Version:        1.46
+Version:        1.48
 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://search.cpan.org/CPAN/authors/id/D/DW/DWHEELER/Test-Pod-%{version}.tar.gz
-
 BuildArch:      noarch
+BuildRequires:  perl
 BuildRequires:  perl(File::Find)
 BuildRequires:  perl(Module::Build) >= 0.30
 BuildRequires:  perl(Pod::Simple) >= 3.05
+BuildRequires:  perl(strict)
 BuildRequires:  perl(Test::Builder)
 BuildRequires:  perl(Test::Builder::Tester) >= 1.02
 BuildRequires:  perl(Test::More) >= 0.62
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+BuildRequires:  perl(warnings)
+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
@@ -23,34 +25,29 @@ Requires:       perl(Test::More) >= 0.62
 Check POD files for errors or warnings in a test file, using Pod::Simple to do
 the heavy lifting.
 
-
 %prep
 %setup -q -n Test-Pod-%{version}
 
-
 %build
-%{__perl} Build.PL installdirs=vendor
+perl Build.PL installdirs=vendor
 ./Build
 
-
 %install
-./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
-
+./Build install destdir=%{buildroot} create_packlist=0
+%{_fixperms} %{buildroot}
 
 %check
 LC_ALL=C ./Build test
 
-
 %files
-%defattr(-,root,root,-)
 %doc Changes README
 %{perl_vendorlib}/Test/
 %{_mandir}/man3/Test::Pod.3pm*
 
-
 %changelog
+* Mon May 06 2013 Petr Šabata <contyk at redhat.com> - 1.48-1
+- 1.48 bump, Pod::Simple compatibility enhancements
+
 * Mon Feb 18 2013 Jitka Plesnikova <jplesnik at redhat.com> - 1.46-1
 - 1.46 bump
 
diff --git a/sources b/sources
index 4227afa..bc79302 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-fd76af5f32b4a5991a233ac9b1c4aaea  Test-Pod-1.46.tar.gz
+c6bfd00ccdcb417d68fb3c0a0ec884c8  Test-Pod-1.48.tar.gz



More information about the perl-devel mailing list