[5859] | 1 | Name: perl-Pod-Tests |
---|
| 2 | Version: 1.19 |
---|
[9143] | 3 | Release: 2%{?_dist_release} |
---|
[5859] | 4 | Summary: Extract embedded tests and code examples from POD |
---|
| 5 | License: GPL+ or Artistic |
---|
| 6 | Group: Development/Libraries |
---|
| 7 | URL: http://search.cpan.org/dist/Pod-Tests/ |
---|
| 8 | Source0: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Pod-Tests-%{version}.tar.gz |
---|
| 9 | |
---|
[9143] | 10 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 11 | |
---|
[5859] | 12 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
| 13 | BuildArch: noarch |
---|
| 14 | |
---|
| 15 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
| 16 | BuildRequires: perl(Test::Harness) >= 1.22 |
---|
| 17 | BuildRequires: perl(Test::More) >= 0.33 |
---|
| 18 | |
---|
| 19 | # for improved tests |
---|
| 20 | BuildRequires: perl(Test::CPAN::Meta) >= 0.12 |
---|
| 21 | BuildRequires: perl(Test::Pod) >= 1.26 |
---|
| 22 | BuildRequires: perl(Test::MinimumVersion) >= 0.008 |
---|
| 23 | # N/A in Fedora |
---|
| 24 | # BuildRequires: perl(Pod::Simple) >= 3.07 |
---|
| 25 | BuildRequires: perl(Pod::Simple) |
---|
| 26 | |
---|
| 27 | %description |
---|
| 28 | Pod::Tests extracts embedded tests and code examples from POD. |
---|
| 29 | pod2test convert embedded tests and code examples to .t files. |
---|
| 30 | |
---|
| 31 | %prep |
---|
| 32 | %setup -q -n Pod-Tests-%{version} |
---|
| 33 | |
---|
| 34 | %build |
---|
| 35 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
---|
| 36 | make %{?_smp_mflags} |
---|
| 37 | |
---|
| 38 | %install |
---|
| 39 | rm -rf %{buildroot} |
---|
| 40 | make pure_install PERL_INSTALL_ROOT=%{buildroot} |
---|
| 41 | find %{buildroot} -type f -name .packlist -exec rm -f {} ';' |
---|
| 42 | find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' |
---|
| 43 | chmod -R u+w %{buildroot}/* |
---|
| 44 | |
---|
| 45 | %clean |
---|
| 46 | rm -rf %{buildroot} |
---|
| 47 | |
---|
| 48 | %check |
---|
| 49 | # remove test until Perl-MinimumVersion will be fixed |
---|
| 50 | rm -rf t/99_pmv.t |
---|
| 51 | make test AUTOMATED_TESTING=1 |
---|
| 52 | |
---|
| 53 | %files |
---|
| 54 | %defattr(-,root,root,-) |
---|
| 55 | %doc Changes LICENSE |
---|
| 56 | %{_bindir}/* |
---|
| 57 | %{perl_vendorlib}/Pod |
---|
| 58 | %{_mandir}/man1/* |
---|
| 59 | %{_mandir}/man3/* |
---|
| 60 | |
---|
| 61 | %changelog |
---|
[9143] | 62 | * Thu Dec 11 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.19-2 |
---|
| 63 | - rebuilt with perl 5.16.3 |
---|
| 64 | |
---|
[5859] | 65 | * Thu Mar 08 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.19-1 |
---|
| 66 | - initial build for Vine Linux |
---|
| 67 | |
---|
| 68 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.19-9 |
---|
| 69 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
| 70 | |
---|
| 71 | * Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 1.19-8 |
---|
| 72 | - Perl mass rebuild |
---|
| 73 | |
---|
| 74 | * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.19-7 |
---|
| 75 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 76 | |
---|
| 77 | * Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.19-6 |
---|
| 78 | - 661697 rebuild for fixing problems with vendorach/lib |
---|
| 79 | |
---|
| 80 | * Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.19-5 |
---|
| 81 | - Mass rebuild with perl-5.12.0 |
---|
| 82 | |
---|
| 83 | * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.19-4 |
---|
| 84 | - rebuild against perl 5.10.1 |
---|
| 85 | |
---|
| 86 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.19-3 |
---|
| 87 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 88 | |
---|
| 89 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.19-2 |
---|
| 90 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 91 | |
---|
| 92 | * Wed Sep 10 2008 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.19-1 |
---|
| 93 | - Upstream update. |
---|
| 94 | |
---|
| 95 | * Tue Mar 04 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.18-6 |
---|
| 96 | - rebuild for new perl |
---|
| 97 | |
---|
| 98 | * Tue Sep 04 2007 Ralf Corsépius <rc040203@freenet.de> - 0.18-5 |
---|
| 99 | - Update license tag. |
---|
| 100 | - BR: perl(ExtUtils::MakeMaker). |
---|
| 101 | |
---|
| 102 | * Tue Sep 05 2006 Ralf Corsépius <rc040203@freenet.de> - 0.18-4 |
---|
| 103 | - Mass rebuild. |
---|
| 104 | |
---|
| 105 | * Wed Mar 01 2006 Ralf Corsépius <rc040203@freenet.de> - 0.18-3 |
---|
| 106 | - Rebuild for perl-5.8.8. |
---|
| 107 | |
---|
| 108 | * Sun Oct 02 2005 Ralf Corsepius <rc040203@freenet.de> - 0.18-2 |
---|
| 109 | - Pollute the spec file with dos2unix to accommodate PR 169112. |
---|
| 110 | |
---|
| 111 | * Fri Sep 23 2005 Ralf Corsepius <rc040203@freenet.de> - 0.18-1 |
---|
| 112 | - FE submission. |
---|