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