1 | Name: perl-Test-Base |
---|
2 | Version: 0.60 |
---|
3 | Release: 1%{?_dist_release} |
---|
4 | Summary: Data Driven Testing Framework |
---|
5 | License: GPL+ or Artistic |
---|
6 | Group: Development/Libraries |
---|
7 | URL: http://search.cpan.org/dist/Test-Base/ |
---|
8 | Source0: http://www.cpan.org/authors/id/I/IN/INGY/Test-Base-%{version}.tar.gz |
---|
9 | BuildArch: noarch |
---|
10 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
11 | BuildRequires: perl(Spiffy) >= 0.30 |
---|
12 | BuildRequires: perl(Test::Deep) |
---|
13 | BuildRequires: perl(Test::More) >= 0.62 |
---|
14 | BuildRequires: perl(Test::Tester) |
---|
15 | BuildRequires: perl(Text::Diff) >= 0.35 |
---|
16 | BuildRequires: perl(YAML) |
---|
17 | Requires: perl(Text::Diff) >= 0.35 |
---|
18 | Requires: perl(LWP::Simple) |
---|
19 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
20 | |
---|
21 | %description |
---|
22 | Testing is usually the ugly part of Perl module authoring. Perl gives you a |
---|
23 | standard way to run tests with Test::Harness, and basic testing primitives |
---|
24 | with Test::More. After that you are pretty much on your own to develop a |
---|
25 | testing framework and philosophy. Test::More encourages you to make your |
---|
26 | own framework by subclassing Test::Builder, but that is not trivial. |
---|
27 | |
---|
28 | %prep |
---|
29 | %setup -q -n Test-Base-%{version} |
---|
30 | |
---|
31 | %build |
---|
32 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
---|
33 | make %{?_smp_mflags} |
---|
34 | |
---|
35 | %install |
---|
36 | rm -rf %{buildroot} |
---|
37 | make pure_install PERL_INSTALL_ROOT=%{buildroot} |
---|
38 | |
---|
39 | find %{buildroot} -type f -name .packlist -exec rm -f {} \; |
---|
40 | find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; |
---|
41 | |
---|
42 | %{_fixperms} %{buildroot}/* |
---|
43 | |
---|
44 | %check |
---|
45 | make test |
---|
46 | |
---|
47 | %clean |
---|
48 | rm -rf %{buildroot} |
---|
49 | |
---|
50 | %files |
---|
51 | %doc Changes README |
---|
52 | %{perl_vendorlib}/* |
---|
53 | %{_mandir}/man3/* |
---|
54 | |
---|
55 | %changelog |
---|
56 | * Fri Mar 09 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.60-1 |
---|
57 | - initial build for Vine Linux |
---|
58 | |
---|
59 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.60-3 |
---|
60 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
61 | |
---|
62 | * Wed Jun 29 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.60-2 |
---|
63 | - Perl mass rebuild |
---|
64 | |
---|
65 | * Sat May 14 2011 Iain Arnell <iarnell@gmail.com> 0.60-1 |
---|
66 | - update to latest upstream version |
---|
67 | - clean up spec for modern rpmbuild |
---|
68 | |
---|
69 | * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.59-3 |
---|
70 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
71 | |
---|
72 | * Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.59-2 |
---|
73 | - 661697 rebuild for fixing problems with vendorach/lib |
---|
74 | |
---|
75 | * Mon Dec 13 2010 Steven Pritchard <steve@kspei.com> 0.59-1 |
---|
76 | - Update to 0.59. |
---|
77 | |
---|
78 | * Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.58-4 |
---|
79 | - Mass rebuild with perl-5.12.0 |
---|
80 | |
---|
81 | * Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 0.58-3 |
---|
82 | - rebuild against perl 5.10.1 |
---|
83 | |
---|
84 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.58-2 |
---|
85 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
86 | |
---|
87 | * Sun May 17 2009 Steven Pritchard <steve@kspei.com> 0.58-1 |
---|
88 | - Update to 0.58. |
---|
89 | - BR Test::Deep and Test::Tester. |
---|
90 | |
---|
91 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.55-2 |
---|
92 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
93 | |
---|
94 | * Wed Dec 10 2008 Steven Pritchard <steve@kspei.com> 0.55-1 |
---|
95 | - Update to 0.55. |
---|
96 | - Explicitly BR Test::More >= 0.62. |
---|
97 | - BR YAML. |
---|
98 | |
---|
99 | * Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.54-3 |
---|
100 | - Rebuild for new perl |
---|
101 | |
---|
102 | * Sat Jul 07 2007 Steven Pritchard <steve@kspei.com> 0.54-2 |
---|
103 | - BR Test::More. |
---|
104 | |
---|
105 | * Mon Jul 02 2007 Steven Pritchard <steve@kspei.com> 0.54-1 |
---|
106 | - Update to 0.54. |
---|
107 | |
---|
108 | * Wed Apr 18 2007 Steven Pritchard <steve@kspei.com> 0.53-2 |
---|
109 | - BR ExtUtils::MakeMaker. |
---|
110 | |
---|
111 | * Sat Dec 09 2006 Steven Pritchard <steve@kspei.com> 0.53-1 |
---|
112 | - Update to 0.53. |
---|
113 | - Use fixperms macro instead of our own chmod incantation. |
---|
114 | |
---|
115 | * Sat Sep 16 2006 Steven Pritchard <steve@kspei.com> 0.52-2 |
---|
116 | - Fix find option order. |
---|
117 | |
---|
118 | * Sat Jul 01 2006 Steven Pritchard <steve@kspei.com> 0.52-1 |
---|
119 | - Update to 0.52. |
---|
120 | |
---|
121 | * Mon May 08 2006 Steven Pritchard <steve@kspei.com> 0.50-2 |
---|
122 | - Add explicit dependencies for Text::Diff and LWP::Simple. |
---|
123 | |
---|
124 | * Thu May 04 2006 Steven Pritchard <steve@kspei.com> 0.50-1 |
---|
125 | - Specfile autogenerated by cpanspec 1.65. |
---|
126 | - Remove explicit BR: perl and Requires: perl(Spiffy). |
---|