1 | Name: perl-Test-SubCalls |
---|
2 | Version: 1.09 |
---|
3 | Release: 3%{?_dist_release} |
---|
4 | Summary: Track the number of times subs are called |
---|
5 | |
---|
6 | Group: Development/Libraries |
---|
7 | License: GPL+ or Artistic |
---|
8 | URL: http://search.cpan.org/dist/Test-SubCalls/ |
---|
9 | Source0: http://www.cpan.org/authors/id/A/AD/ADAMK/Test-SubCalls-%{version}.tar.gz |
---|
10 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
11 | |
---|
12 | BuildArch: noarch |
---|
13 | BuildRequires: perl(Hook::LexWrap) >= 0.20 |
---|
14 | BuildRequires: perl(Test::Builder::Tester) >= 1.02 |
---|
15 | BuildRequires: perl(Test::Pod) >= 1.00 |
---|
16 | BuildRequires: perl(Test::More) >= 0.60 |
---|
17 | BuildRequires: perl(Class::Inspector) |
---|
18 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
19 | |
---|
20 | %if 0%{!?perl_bootstrap:1} |
---|
21 | # for improved tests |
---|
22 | BuildRequires: perl(Test::CPAN::Meta) >= 0.12 |
---|
23 | # FIXME: Fedora's Pod::Simple is outdated |
---|
24 | # BuildRequires: perl(Pod::Simple) >= 3.07 |
---|
25 | BuildRequires: perl(Pod::Simple) |
---|
26 | BuildRequires: perl(Test::Pod) >= 1.26 |
---|
27 | BuildRequires: perl(Test::MinimumVersion) >= 0.008 |
---|
28 | %endif |
---|
29 | |
---|
30 | Vendor: Project Vine |
---|
31 | Distribution: Vine Linux |
---|
32 | Packager: shaolin |
---|
33 | |
---|
34 | %description |
---|
35 | There are a number of different situations (like testing cacheing |
---|
36 | code) where you want to want to do a number of tests, and then verify |
---|
37 | that some underlying subroutine deep within the code was called a |
---|
38 | specific number of times. |
---|
39 | |
---|
40 | |
---|
41 | %prep |
---|
42 | %setup -q -n Test-SubCalls-%{version} |
---|
43 | |
---|
44 | |
---|
45 | %build |
---|
46 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
---|
47 | make %{?_smp_mflags} |
---|
48 | |
---|
49 | |
---|
50 | %install |
---|
51 | rm -rf $RPM_BUILD_ROOT |
---|
52 | make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT |
---|
53 | find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' |
---|
54 | find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' |
---|
55 | chmod -R u+w $RPM_BUILD_ROOT/* |
---|
56 | |
---|
57 | |
---|
58 | %check |
---|
59 | make test AUTOMATED_TESTING=1 |
---|
60 | |
---|
61 | |
---|
62 | %clean |
---|
63 | rm -rf $RPM_BUILD_ROOT |
---|
64 | |
---|
65 | |
---|
66 | %files |
---|
67 | %defattr(-,root,root,-) |
---|
68 | %doc Changes LICENSE README |
---|
69 | %{perl_vendorlib}/Test/ |
---|
70 | %{_mandir}/man3/*.3pm* |
---|
71 | |
---|
72 | |
---|
73 | %changelog |
---|
74 | * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.09-3 |
---|
75 | - rebuild |
---|
76 | |
---|
77 | * Fri Feb 24 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.09-2 |
---|
78 | - undefine perl_bootstrap this time |
---|
79 | |
---|
80 | * Fri Feb 24 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.09-1 |
---|
81 | - initial build for Vine Linux |
---|
82 | |
---|
83 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.09-7 |
---|
84 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
85 | |
---|
86 | * Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 1.09-6 |
---|
87 | - Perl mass rebuild |
---|
88 | |
---|
89 | * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.09-5 |
---|
90 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
91 | |
---|
92 | * Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.09-4 |
---|
93 | - 661697 rebuild for fixing problems with vendorach/lib |
---|
94 | |
---|
95 | * Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.09-3 |
---|
96 | - Mass rebuild with perl-5.12.0 |
---|
97 | |
---|
98 | * Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 1.09-2 |
---|
99 | - rebuild against perl 5.10.1 |
---|
100 | |
---|
101 | * Wed Oct 7 2009 Marcela Mašláňová <mmaslano@redhat.com> - 1.09-1 |
---|
102 | - update to new upstream release |
---|
103 | |
---|
104 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.08-3 |
---|
105 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
106 | |
---|
107 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.08-2 |
---|
108 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
109 | |
---|
110 | * Mon Oct 05 2008 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.08-1 |
---|
111 | - Upstream update. |
---|
112 | - Activate AUTOMATED_TESTING. |
---|
113 | |
---|
114 | * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.07-3 |
---|
115 | - Rebuild for perl 5.10 (again) |
---|
116 | |
---|
117 | * Sat Jan 12 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.07-2 |
---|
118 | - rebuild for new perl |
---|
119 | |
---|
120 | * Wed Dec 19 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.07-1 |
---|
121 | - bump to 1.07 |
---|
122 | - license fix |
---|
123 | |
---|
124 | * Fri May 12 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.06-1 |
---|
125 | - Update to 1.06. |
---|
126 | |
---|
127 | * Tue Apr 25 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.05-1 |
---|
128 | - First build. |
---|