source: projects/specs/trunk/p/perl-Test-SubCalls/perl-Test-SubCalls-vl.spec @ 5750

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