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

Revision 5794, 3.9 KB checked in by shaolin, 12 years ago (diff)
  • rebuild
Line 
1Name:           perl-Test-SubCalls
2Version:        1.09
3Release:        3%{?_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* 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.
Note: See TracBrowser for help on using the repository browser.