diff --git a/.perl-Pod-Coverage.metadata b/.perl-Pod-Coverage.metadata new file mode 100644 index 0000000..3ad1742 --- /dev/null +++ b/.perl-Pod-Coverage.metadata @@ -0,0 +1 @@ +1d235e670f478168fcbe43aeea1994536ec6e4f6 SOURCES/Pod-Coverage-0.23.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SOURCES/Pod-Coverage-0.23-Do-not-search-.-lib-by-pod_cover.patch b/SOURCES/Pod-Coverage-0.23-Do-not-search-.-lib-by-pod_cover.patch new file mode 100644 index 0000000..20d69f9 --- /dev/null +++ b/SOURCES/Pod-Coverage-0.23-Do-not-search-.-lib-by-pod_cover.patch @@ -0,0 +1,25 @@ +From 273067dbd3e8bfc4b26849a4615c3f44f54e7029 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= +Date: Wed, 22 May 2013 15:05:54 +0200 +Subject: [PATCH] Do not search ./lib by pod_cover + + +--- + bin/pod_cover | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/bin/pod_cover b/bin/pod_cover +index c11b2ff..94ea7aa 100644 +--- a/bin/pod_cover ++++ b/bin/pod_cover +@@ -3,7 +3,6 @@ + # Run this to get a coverage analysis of the embedded documentation + + use Pod::Coverage; +-use lib 'lib'; # to test distribution inside './lib' + use strict; + + print "Pod coverage analysis v1.00 (C) by Tels 2001.\n"; +-- +1.8.1.4 + diff --git a/SPECS/perl-Pod-Coverage.spec b/SPECS/perl-Pod-Coverage.spec new file mode 100644 index 0000000..eb7e961 --- /dev/null +++ b/SPECS/perl-Pod-Coverage.spec @@ -0,0 +1,168 @@ +Name: perl-Pod-Coverage +Version: 0.23 +Release: 2%{?dist} +Summary: Checks if the documentation of a module is comprehensive +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Pod-Coverage/ +Source0: http://www.cpan.org/authors/id/R/RC/RCLAMP/Pod-Coverage-%{version}.tar.gz +# Make pod_cover more secure, CPAN RT#85540 +Patch0: Pod-Coverage-0.23-Do-not-search-.-lib-by-pod_cover.patch +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(B) +BuildRequires: perl(base) +BuildRequires: perl(constant) +BuildRequires: perl(Data::Dumper) +BuildRequires: perl(Devel::Symdump) >= 2.01 +BuildRequires: perl(Exporter) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(lib) +BuildRequires: perl(Pod::Find) >= 0.21 +BuildRequires: perl(Pod::Parser) >= 1.13 +BuildRequires: perl(strict) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Pod) +BuildRequires: perl(vars) +BuildRequires: perl(warnings) +Requires: perl(Devel::Symdump) >= 2.01 +Requires: perl(Pod::Find) >= 0.21 +Requires: perl(Pod::Parser) >= 1.13 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} +%global __requires_exclude %{?__requires_exclude:__requires_exclude|}^perl\\(Devel::Symdump\\)$ +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Pod::Find\\)$ +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Pod::Parser\\)$ + +%description +Developers hate writing documentation. They'd hate it even more if their +computer tattled on them, but maybe they'll be even more thankful in the +long run. Even if not, perlmodstyle tells you to, so you must obey. + +This module provides a mechanism for determining if the pod for a given +module is comprehensive. + +%prep +%setup -q -n Pod-Coverage-%{version} +%patch0 -p1 + +%build +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} \; +%{_fixperms} %{buildroot}/* + +%check +make test + +%files +%doc Changes examples +%{_bindir}/pod_cover +%{perl_vendorlib}/Pod/ +%{_mandir}/man3/Pod::Coverage.3pm* +%{_mandir}/man3/Pod::Coverage::CountParents.3pm* +%{_mandir}/man3/Pod::Coverage::ExportOnly.3pm* +%{_mandir}/man3/Pod::Coverage::Overloader.3pm* + +%changelog +* Wed May 22 2013 Petr Pisar - 0.23-2 +- Do not put ./lib into @INC by pod_cover tool + +* Thu May 02 2013 Petr Šabata - 0.23-1 +- 0.23 bump + +* Thu Feb 14 2013 Fedora Release Engineering - 0.22-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Fri Jul 20 2012 Fedora Release Engineering - 0.22-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Tue Jun 12 2012 Petr Pisar - 0.22-2 +- Perl 5.16 rebuild + +* Wed Feb 08 2012 Petr Šabata - 0.22-1 +- 0.22 bump +- Switch to EE::MM +- Modernize spec + +* Fri Jan 13 2012 Fedora Release Engineering - 0.21-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Sun Jun 19 2011 Marcela Mašláňová - 0.21-4 +- Perl mass rebuild + +* Tue Feb 08 2011 Fedora Release Engineering - 0.21-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Tue Dec 21 2010 Marcela Maslanova - 0.21-2 +- 661697 rebuild for fixing problems with vendorach/lib + +* Tue Sep 14 2010 Petr Sabata - 0.21-1 +- New release, v0.21 + +* Tue May 04 2010 Marcela Maslanova - 0.20-5 +- Mass rebuild with perl-5.12.0 + +* Mon Dec 7 2009 Stepan Kasal - 0.20-4 +- rebuild against perl 5.10.1 + +* Sun Jul 26 2009 Fedora Release Engineering - 0.20-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Feb 26 2009 Fedora Release Engineering - 0.20-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Fri Feb 20 2009 Paul Howarth - 0.20-1 +- Update to 0.20 (test updates) +- No README in upstream distribution +- BR: perl(Test::More) +- More specific files list + +* Wed Feb 27 2008 Tom "spot" Callaway - 0.19-3 +- Rebuild for perl 5.10 (again), second pass with tests enabled + +* Wed Feb 27 2008 Tom "spot" Callaway - 0.19-2 +- Rebuild for perl 5.10 (again), first pass without Test::Pod, tests + +* Sat Jan 12 2008 Steven Pritchard 0.19-1 +- Update to 0.19. +- Use fixperms macro instead of our own chmod incantation. +- Reformat to match cpanspec output. + +* Thu Jan 10 2007 Tom "spot" Callaway - 0.18-3 +- rebuild 2, enable Test::Pod, tests + +* Thu Jan 10 2007 Tom "spot" Callaway - 0.18-2.1 +- rebuild (first pass, no tests, no Test::Pod) + +* Wed Aug 9 2006 Jose Pedro Oliveira - 0.18-2 +- Version 0.18 is now a noarch package. + +* Wed Aug 9 2006 Jose Pedro Oliveira - 0.18-1 +- Update to 0.18. + +* Fri Feb 17 2006 Jose Pedro Oliveira - 0.17-5 +- Rebuild for FC5 (perl 5.8.8). + +* Thu May 12 2005 Jose Pedro Oliveira - 0.17-4 +- Add dist tag. + +* Wed Apr 20 2005 Jose Pedro Oliveira - 0.17-3 +- Avoid .packlist creation with Module::Build >= 0.2609. +- Trust that %%{perl_vendorlib} is defined. + +* Fri Apr 7 2005 Michael Schwendt +- rebuilt + +* Sat Nov 27 2004 Jose Pedro Oliveira - 0:0.17-1 +- Update to 0.17. + +* Wed Oct 20 2004 Jose Pedro Oliveira - 0:0.16-0.fdr.1 +- Update to 0.16. + +* Thu May 20 2004 Jose Pedro Oliveira - 0:0.14-0.fdr.1 +- First build.