1.48 bump, Pod::Simple compatibility enhancements

This commit is contained in:
Petr Šabata 2013-05-06 12:36:02 +02:00
parent 6001d8e1ca
commit c9f426d54d
3 changed files with 13 additions and 15 deletions

1
.gitignore vendored
View File

@ -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

View File

@ -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@redhat.com> - 1.48-1
- 1.48 bump, Pod::Simple compatibility enhancements
* Mon Feb 18 2013 Jitka Plesnikova <jplesnik@redhat.com> - 1.46-1
- 1.46 bump

View File

@ -1 +1 @@
fd76af5f32b4a5991a233ac9b1c4aaea Test-Pod-1.46.tar.gz
c6bfd00ccdcb417d68fb3c0a0ec884c8 Test-Pod-1.48.tar.gz