diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..276242d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/Test-Pod-1.48.tar.gz diff --git a/.perl-Test-Pod.metadata b/.perl-Test-Pod.metadata new file mode 100644 index 0000000..f641e56 --- /dev/null +++ b/.perl-Test-Pod.metadata @@ -0,0 +1 @@ +e6c157c12e60ceb4c9d1365996bbfa9de0292533 SOURCES/Test-Pod-1.48.tar.gz diff --git a/SOURCES/Test-Pod-1.48-Change-license-statement-in-README-to-Same-as-Perl.patch b/SOURCES/Test-Pod-1.48-Change-license-statement-in-README-to-Same-as-Perl.patch new file mode 100644 index 0000000..0a2a240 --- /dev/null +++ b/SOURCES/Test-Pod-1.48-Change-license-statement-in-README-to-Same-as-Perl.patch @@ -0,0 +1,32 @@ +From 5c3dbcc71a5eb9b91ea5cce972d3e38e3b4ca194 Mon Sep 17 00:00:00 2001 +From: "David E. Wheeler" +Date: Wed, 12 Feb 2014 16:52:24 -0800 +Subject: [PATCH] Change license statement in README to "Same as Perl". +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +To bring it in line with the license listed in `META.yml` and in `Pod.pm`, +thus finishing the other half of the change started in ca28cade. + +Thanks to @ppisar for the report (closes #5). + +Signed-off-by: Petr Písař + +Petr Pisar: Ported to 1.48. + +diff --git a/README b/README +index b04cf78..23013bd 100644 +--- a/README ++++ b/README +@@ -28,5 +28,5 @@ Copyright and Licence + + Copyright 2006-2010, Andy Lester. Some Rights Reserved. + +-You may use, modify, and distribute this package under the terms as the +-Artistic License v2.0 or GNU Public License v2.0. ++This module is free software; you can redistribute it and/or modify it under ++the same terms as Perl itself. +-- +1.8.5.3 + diff --git a/SPECS/perl-Test-Pod.spec b/SPECS/perl-Test-Pod.spec new file mode 100644 index 0000000..4ac5f47 --- /dev/null +++ b/SPECS/perl-Test-Pod.spec @@ -0,0 +1,179 @@ +Name: perl-Test-Pod +Version: 1.48 +Release: 3%{?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 +# Fix license declaration, bug #1065946, +# https://github.com/theory/test-pod/issues/5 +Patch0: Test-Pod-1.48-Change-license-statement-in-README-to-Same-as-Perl.patch +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 +BuildRequires: perl(warnings) +Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) +Requires: perl(File::Find) +Requires: perl(Pod::Simple) >= 3.05 +Requires: perl(Test::More) >= 0.62 + +%description +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} +%patch0 -p1 + +%build +perl Build.PL installdirs=vendor +./Build + +%install +./Build install destdir=%{buildroot} create_packlist=0 +%{_fixperms} %{buildroot} + +%check +LC_ALL=C ./Build test + +%files +%doc Changes README +%{perl_vendorlib}/Test/ +%{_mandir}/man3/Test::Pod.3pm* + +%changelog +* Wed Aug 06 2014 Petr Pisar - 1.48-3 +- Clarify license (bug #1065946) +- Remove run-time dependency on Test::Builder::Tester (bug #1065944) +- Declare run-time dependency on File::Find (bug #1066006) + +* Fri Dec 27 2013 Daniel Mach - 1.48-2 +- Mass rebuild 2013-12-27 + +* Mon May 06 2013 Petr Šabata - 1.48-1 +- 1.48 bump, Pod::Simple compatibility enhancements + +* Mon Feb 18 2013 Jitka Plesnikova - 1.46-1 +- 1.46 bump + +* Thu Feb 14 2013 Fedora Release Engineering - 1.45-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Fri Jul 20 2012 Fedora Release Engineering - 1.45-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Mon Jun 11 2012 Petr Pisar - 1.45-5 +- Perl 5.16 rebuild + +* Thu May 31 2012 Petr Pisar - 1.45-4 +- Round Module::Build version to 2 digits + +* Fri Jan 13 2012 Fedora Release Engineering - 1.45-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Fri Jun 17 2011 Marcela Mašláňová - 1.45-2 +- Perl mass rebuild + +* Thu Mar 10 2011 Petr Sabata - 1.45-1 +- 1.45 bump +- Buildroot garbage cleanup + +* Wed Feb 09 2011 Fedora Release Engineering - 1.44-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Thu Jan 13 2011 Karsten Hopp 1.44-3 +- bump release and rebuild to fix dependency issues on s390x + +* Wed Dec 22 2010 Marcela Maslanova - 1.44-2 +- 661697 rebuild for fixing problems with vendorach/lib + +* Sat Jul 31 2010 Paul Howarth - 1.44-1 +- 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 + +* Fri May 07 2010 Marcela Maslanova - 1.42-2 +- Mass rebuild with perl-5.12.0 + +* Thu Mar 11 2010 Paul Howarth - 1.42-1 +- 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 - 1.40-2 +- rebuild against perl 5.10.1 + +* Fri Oct 30 2009 Stepan Kasal - 1.40-1 +- new upstream version + +* Sun Jul 26 2009 Fedora Release Engineering - 1.26-6 +- rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Feb 26 2009 Fedora Release Engineering - 1.26-5 +- rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Wed Feb 27 2008 Tom "spot" Callaway - 1.26-4 +- rebuild for perl 5.10 (again) + +* Thu Jan 10 2008 Tom "spot" Callaway - 1.26-3 +- rebuild for new perl + +* Thu Dec 20 2007 Tom "spot" Callaway - 1.26-2 +- license tag fix + +* Fri Jul 21 2006 Jose Pedro Oliveira - 1.26-1 +- Update to 1.26. + +* Fri Feb 17 2006 Jose Pedro Oliveira - 1.24-2 +- Rebuild for FC5 (perl 5.8.8). + +* Fri Feb 3 2006 Jose Pedro Oliveira - 1.24-1 +- Update to 1.24. + +* Thu Dec 29 2005 Jose Pedro Oliveira - 1.22-1 +- Update to 1.22. + +* Thu May 12 2005 Jose Pedro Oliveira - 1.20-3 +- Add dist tag. + +* Fri Apr 7 2005 Michael Schwendt - 1.20-2 +- rebuilt + +* Thu Jun 24 2004 Jose Pedro Oliveira - 0:1.20-0.fdr.1 +- Update to 1.20. + +* Wed May 12 2004 Jose Pedro Oliveira - 0:1.16-0.fdr.2 +- Avoid creation of the perllocal.pod file (make pure_install). + +* Mon May 3 2004 Ville Skyttä - 0:1.16-0.fdr.1 +- Update to 1.16, dir handling patch applied upstream. + +* Fri Apr 30 2004 Ville Skyttä - 0:1.14-0.fdr.1 +- Update to 1.14. +- Require perl(:MODULE_COMPAT_*). +- Add patch to avoid warnings from all_pod_files(). + +* Sun Mar 14 2004 Ville Skyttä - 0:1.12-0.fdr.1 +- Update to 1.12. + +* Thu Jan 22 2004 Ville Skyttä - 0:1.08-0.fdr.1 +- Update to 1.08. +- Use %%{perl_vendorlib}. + +* Wed Nov 5 2003 Ville Skyttä - 0:0.96-0.fdr.1 +- First build.