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