1 | Name: perl-Test-Script |
---|
2 | Version: 1.07 |
---|
3 | Release: 2%{?_dist_release} |
---|
4 | Summary: Cross-platform basic tests for scripts |
---|
5 | License: GPL+ or Artistic |
---|
6 | Group: Development/Libraries |
---|
7 | URL: http://search.cpan.org/dist/Test-Script/ |
---|
8 | Source0: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Test-Script-%{version}.tar.gz |
---|
9 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
10 | BuildArch: noarch |
---|
11 | |
---|
12 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
13 | BuildRequires: perl(IPC::Run3) >= 0.034 |
---|
14 | BuildRequires: perl(Probe::Perl) |
---|
15 | BuildRequires: perl(Test::More) |
---|
16 | |
---|
17 | # For improved tests |
---|
18 | %if !%{defined perl_bootstrap} |
---|
19 | BuildRequires: perl(Test::CPAN::Meta) >= 0.12 |
---|
20 | BuildRequires: perl(Test::Pod) >= 1.26 |
---|
21 | BuildRequires: perl(Test::MinimumVersion) >= 0.008 |
---|
22 | BuildRequires: perl(Perl::MinimumVersion) >= 1.20 |
---|
23 | %endif |
---|
24 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
25 | |
---|
26 | Vendor: Project Vine |
---|
27 | Distribution: Vine Linux |
---|
28 | Packager: shaolin |
---|
29 | |
---|
30 | %description |
---|
31 | The intent of this module is to provide a series of basic tests for scripts |
---|
32 | in the bin directory of your Perl distribution. |
---|
33 | |
---|
34 | %prep |
---|
35 | %setup -q -n Test-Script-%{version} |
---|
36 | |
---|
37 | %build |
---|
38 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
---|
39 | make %{?_smp_mflags} |
---|
40 | |
---|
41 | %install |
---|
42 | rm -rf ${RPM_BUILD_ROOT} |
---|
43 | |
---|
44 | make pure_install PERL_INSTALL_ROOT=${RPM_BUILD_ROOT} |
---|
45 | |
---|
46 | find ${RPM_BUILD_ROOT} -type f -name .packlist -exec rm -f {} \; |
---|
47 | find ${RPM_BUILD_ROOT} -depth -type d -exec rmdir {} 2>/dev/null \; |
---|
48 | |
---|
49 | %{_fixperms} ${RPM_BUILD_ROOT}/* |
---|
50 | |
---|
51 | %check |
---|
52 | %if !%{defined perl_bootstrap} |
---|
53 | make test AUTOMATED_TESTING=1 RELEASE_TESTING=1 |
---|
54 | %endif |
---|
55 | |
---|
56 | %clean |
---|
57 | rm -rf ${RPM_BUILD_ROOT} |
---|
58 | |
---|
59 | %files |
---|
60 | %defattr(-,root,root,-) |
---|
61 | %doc Changes LICENSE README |
---|
62 | %{perl_vendorlib}/* |
---|
63 | %{_mandir}/man3/* |
---|
64 | |
---|
65 | %changelog |
---|
66 | * Thu Mar 02 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.07-2 |
---|
67 | - rebuild |
---|
68 | |
---|
69 | * Fri Feb 24 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.07-1 |
---|
70 | - initial build for Vine Linux |
---|
71 | |
---|
72 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.07-7 |
---|
73 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
74 | |
---|
75 | * Tue Jun 28 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.07-6 |
---|
76 | - Perl mass rebuild |
---|
77 | - perl_bootstrap macro |
---|
78 | |
---|
79 | * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.07-5 |
---|
80 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
81 | |
---|
82 | * Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.07-4 |
---|
83 | - 661697 rebuild for fixing problems with vendorach/lib |
---|
84 | |
---|
85 | * Tue May 25 2010 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.07-3 |
---|
86 | - Reactivate pmv tests. |
---|
87 | |
---|
88 | * Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.07-2 |
---|
89 | - Mass rebuild with perl-5.12.0 |
---|
90 | |
---|
91 | * Tue Dec 15 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.07-1 |
---|
92 | - Upstream update. |
---|
93 | - Reflect Source0-URL having changed. |
---|
94 | |
---|
95 | * Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 1.06-2 |
---|
96 | - rebuild against perl 5.10.1 |
---|
97 | |
---|
98 | * Mon Sep 28 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.06-1 |
---|
99 | - Upstream update. |
---|
100 | - BR: perl(Probe::Perl) |
---|
101 | - Activate AUTOMATED_TESTING=1 RELEASE_TESTING=1. |
---|
102 | |
---|
103 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-3 |
---|
104 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
105 | |
---|
106 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-2 |
---|
107 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
108 | |
---|
109 | * Tue Mar 11 2008 Ralf Corsépius <rc040203@freenet.de> - 1.03-1 |
---|
110 | - Upstream update. |
---|
111 | |
---|
112 | * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.02-4 |
---|
113 | - Rebuild for perl 5.10 (again) |
---|
114 | |
---|
115 | * Sat Jan 12 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.02-3 |
---|
116 | - rebuild for new perl |
---|
117 | |
---|
118 | * Tue Sep 18 2007 Ralf Corsépius <rc040203@freenet.de> - 1.02-2 |
---|
119 | - Reflect license tag changes. |
---|
120 | - BR: perl(Test::More). |
---|
121 | - Remove BR: perl. |
---|
122 | - Add chmod -x Changes lib/Test/*pm |
---|
123 | |
---|
124 | * Tue Aug 07 2007 Ralf Corsépius <rc040203@freenet.de> - 1.02-1 |
---|
125 | - Specfile autogenerated by cpanspec 1.73. |
---|