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

Revision 9089, 4.0 KB checked in by inagaki, 9 years ago (diff)

2014-11-15 Ryoichi INAGAKI <ryo1@…>

  • perl-Algorithm-C3, perl-Class-Inspector, perl-Hook-LexWrap?, perl-Tie-IxHash?: updated
  • perl-Algorithm-Diff, perl-JSON-XS, perl-PPI, perl-Test-SubCalls?, perl-Text-Diff: rebuilt


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