24cb25
Name:           perl-Test-Pod
24cb25
Version:        1.48
3547e0
Release:        3%{?dist}
24cb25
Summary:        Test POD files for correctness
24cb25
Group:          Development/Libraries
24cb25
License:        GPL+ or Artistic
24cb25
URL:            http://search.cpan.org/dist/Test-Pod/
24cb25
Source0:        http://search.cpan.org/CPAN/authors/id/D/DW/DWHEELER/Test-Pod-%{version}.tar.gz
3547e0
# Fix license declaration, bug #1065946,
3547e0
# https://github.com/theory/test-pod/issues/5
3547e0
Patch0:         Test-Pod-1.48-Change-license-statement-in-README-to-Same-as-Perl.patch
24cb25
BuildArch:      noarch
24cb25
BuildRequires:  perl
24cb25
BuildRequires:  perl(File::Find)
24cb25
BuildRequires:  perl(Module::Build) >= 0.30
24cb25
BuildRequires:  perl(Pod::Simple) >= 3.05
24cb25
BuildRequires:  perl(strict)
24cb25
BuildRequires:  perl(Test::Builder)
24cb25
BuildRequires:  perl(Test::Builder::Tester) >= 1.02
24cb25
BuildRequires:  perl(Test::More) >= 0.62
24cb25
BuildRequires:  perl(warnings)
24cb25
Requires:       perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
3547e0
Requires:       perl(File::Find)
24cb25
Requires:       perl(Pod::Simple) >= 3.05
24cb25
Requires:       perl(Test::More) >= 0.62
24cb25
24cb25
%description
24cb25
Check POD files for errors or warnings in a test file, using Pod::Simple to do
24cb25
the heavy lifting.
24cb25
24cb25
%prep
24cb25
%setup -q -n Test-Pod-%{version}
3547e0
%patch0 -p1
24cb25
24cb25
%build
24cb25
perl Build.PL installdirs=vendor
24cb25
./Build
24cb25
24cb25
%install
24cb25
./Build install destdir=%{buildroot} create_packlist=0
24cb25
%{_fixperms} %{buildroot}
24cb25
24cb25
%check
24cb25
LC_ALL=C ./Build test
24cb25
24cb25
%files
24cb25
%doc Changes README
24cb25
%{perl_vendorlib}/Test/
24cb25
%{_mandir}/man3/Test::Pod.3pm*
24cb25
24cb25
%changelog
3547e0
* Wed Aug 06 2014 Petr Pisar <ppisar@redhat.com> - 1.48-3
3547e0
- Clarify license (bug #1065946)
3547e0
- Remove run-time dependency on Test::Builder::Tester (bug #1065944)
3547e0
- Declare run-time dependency on File::Find (bug #1066006)
3547e0
5902bd
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.48-2
5902bd
- Mass rebuild 2013-12-27
5902bd
24cb25
* Mon May 06 2013 Petr Šabata <contyk@redhat.com> - 1.48-1
24cb25
- 1.48 bump, Pod::Simple compatibility enhancements
24cb25
24cb25
* Mon Feb 18 2013 Jitka Plesnikova <jplesnik@redhat.com> - 1.46-1
24cb25
- 1.46 bump
24cb25
24cb25
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.45-7
24cb25
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
24cb25
24cb25
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.45-6
24cb25
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
24cb25
24cb25
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 1.45-5
24cb25
- Perl 5.16 rebuild
24cb25
24cb25
* Thu May 31 2012 Petr Pisar <ppisar@redhat.com> - 1.45-4
24cb25
- Round Module::Build version to 2 digits
24cb25
24cb25
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.45-3
24cb25
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
24cb25
24cb25
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.45-2
24cb25
- Perl mass rebuild
24cb25
24cb25
* Thu Mar 10 2011 Petr Sabata <psabata@redhat.com> - 1.45-1
24cb25
- 1.45 bump
24cb25
- Buildroot garbage cleanup
24cb25
24cb25
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.44-4
24cb25
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
24cb25
24cb25
* Thu Jan 13 2011 Karsten Hopp <karsten@redhat.com> 1.44-3
24cb25
- bump release and rebuild to fix dependency issues on s390x
24cb25
24cb25
* Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.44-2
24cb25
- 661697 rebuild for fixing problems with vendorach/lib
24cb25
24cb25
* Sat Jul 31 2010 Paul Howarth <paul@city-fan.org> - 1.44-1
24cb25
- update to 1.44:
24cb25
  - use Module::Build::Compat's "traditional" configuration
24cb25
  - loosen version requirements for Test::More and Pod::Simple
24cb25
  - add File::Spec to the list of prereqs
24cb25
- drop perl(Test::More) version requirement to 0.62
24cb25
- drop perl(Pod::Simple) version requirement to 3.05
24cb25
24cb25
* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.42-2
24cb25
- Mass rebuild with perl-5.12.0
24cb25
24cb25
* Thu Mar 11 2010 Paul Howarth <paul@city-fan.org> - 1.42-1
24cb25
- update to 1.42
24cb25
- new upstream maintainer
24cb25
- use Module::Build flow
24cb25
- include README
24cb25
- use less generic %%description and %%summary
24cb25
- use _fixperms macro instead of our own chmod incantation
24cb25
- bump Test::More build requirement to 0.70
24cb25
- add versioned requires for Pod::Simple, Test::Builder::Tester and Test::More
24cb25
24cb25
* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 1.40-2
24cb25
- rebuild against perl 5.10.1
24cb25
24cb25
* Fri Oct 30 2009 Stepan Kasal <skasal@redhat.com> - 1.40-1
24cb25
- new upstream version
24cb25
24cb25
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.26-6
24cb25
- rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
24cb25
24cb25
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.26-5
24cb25
- rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
24cb25
24cb25
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.26-4
24cb25
- rebuild for perl 5.10 (again)
24cb25
24cb25
* Thu Jan 10 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.26-3
24cb25
- rebuild for new perl
24cb25
24cb25
* Thu Dec 20 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.26-2
24cb25
- license tag fix
24cb25
24cb25
* Fri Jul 21 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.26-1
24cb25
- Update to 1.26.
24cb25
24cb25
* Fri Feb 17 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.24-2
24cb25
- Rebuild for FC5 (perl 5.8.8).
24cb25
24cb25
* Fri Feb  3 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.24-1
24cb25
- Update to 1.24.
24cb25
24cb25
* Thu Dec 29 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.22-1
24cb25
- Update to 1.22.
24cb25
24cb25
* Thu May 12 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.20-3
24cb25
- Add dist tag.
24cb25
24cb25
* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.20-2
24cb25
- rebuilt
24cb25
24cb25
* Thu Jun 24 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.20-0.fdr.1
24cb25
- Update to 1.20.
24cb25
24cb25
* Wed May 12 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.16-0.fdr.2
24cb25
- Avoid creation of the perllocal.pod file (make pure_install).
24cb25
24cb25
* Mon May  3 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.16-0.fdr.1
24cb25
- Update to 1.16, dir handling patch applied upstream.
24cb25
24cb25
* Fri Apr 30 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.14-0.fdr.1
24cb25
- Update to 1.14.
24cb25
- Require perl(:MODULE_COMPAT_*).
24cb25
- Add patch to avoid warnings from all_pod_files().
24cb25
24cb25
* Sun Mar 14 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.12-0.fdr.1
24cb25
- Update to 1.12.
24cb25
24cb25
* Thu Jan 22 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.08-0.fdr.1
24cb25
- Update to 1.08.
24cb25
- Use %%{perl_vendorlib}.
24cb25
24cb25
* Wed Nov  5 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.96-0.fdr.1
24cb25
- First build.