1 | Name: perl-Test-Tester |
---|
2 | Version: 0.107 |
---|
3 | Release: 2%{?_dist_release} |
---|
4 | Summary: Ease testing test modules built with Test::Builder |
---|
5 | License: GPL or Artistic |
---|
6 | Group: Development/Libraries |
---|
7 | URL: http://search.cpan.org/dist/Test-Tester/ |
---|
8 | Source0: http://www.cpan.org/authors/id/F/FD/FDALY/Test-Tester-%{version}.tar.gz |
---|
9 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
10 | BuildArch: noarch |
---|
11 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
12 | BuildRequires: perl(Test::Builder) |
---|
13 | Requires: perl >= %(eval "`%{__perl} -V:version`"; echo $version) |
---|
14 | |
---|
15 | %description |
---|
16 | If you have written a test module based on Test::Builder then Test::Tester |
---|
17 | allows you to test it with the minimum of effort. |
---|
18 | |
---|
19 | %prep |
---|
20 | %setup -q -n Test-Tester-%{version} |
---|
21 | |
---|
22 | %build |
---|
23 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
---|
24 | make %{?_smp_mflags} |
---|
25 | |
---|
26 | %install |
---|
27 | rm -rf $RPM_BUILD_ROOT |
---|
28 | |
---|
29 | make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT |
---|
30 | |
---|
31 | find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; |
---|
32 | find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; |
---|
33 | |
---|
34 | %{_fixperms} $RPM_BUILD_ROOT/* |
---|
35 | |
---|
36 | %check |
---|
37 | make test |
---|
38 | |
---|
39 | %clean |
---|
40 | rm -rf $RPM_BUILD_ROOT |
---|
41 | |
---|
42 | %files |
---|
43 | %defattr(-,root,root,-) |
---|
44 | %doc ARTISTIC CHANGES README TODO |
---|
45 | %{perl_vendorlib}/* |
---|
46 | %{_mandir}/man3/* |
---|
47 | |
---|
48 | %changelog |
---|
49 | * Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.107-2 |
---|
50 | - rebuild with perl-5.12.3 |
---|
51 | |
---|
52 | * Sat Nov 8 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.107-1 |
---|
53 | - new upstream release |
---|
54 | - applied new versioning policy |
---|
55 | |
---|
56 | * Tue Sep 25 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.106-1vl1 |
---|
57 | - initial build for Vine Linux |
---|
58 | |
---|
59 | * Tue Sep 18 2007 Steven Pritchard <steve@kspei.com> 0.106-1 |
---|
60 | - Update to 0.106. |
---|
61 | - BR Test::Builder. |
---|
62 | |
---|
63 | * Wed Apr 18 2007 Steven Pritchard <steve@kspei.com> 0.104-2 |
---|
64 | - BR ExtUtils::MakeMaker. |
---|
65 | |
---|
66 | * Tue Dec 26 2006 Steven Pritchard <steve@kspei.com> 0.104-1 |
---|
67 | - Update to 0.104. |
---|
68 | - Use fixperms macro instead of our own chmod incantation. |
---|
69 | |
---|
70 | * Sat Sep 16 2006 Steven Pritchard <steve@kspei.com> 0.103-2 |
---|
71 | - Fix find option order. |
---|
72 | |
---|
73 | * Sat Apr 08 2006 Steven Pritchard <steve@kspei.com> 0.103-1 |
---|
74 | - Specfile autogenerated by cpanspec 1.64. |
---|
75 | - Fix License. |
---|