123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138 |
- %define perl_bootstrap 1
- Name: perl-Test-SubCalls
- Version: 1.10
- Release: 1%{?_dist_release}
- Summary: Track the number of times subs are called
- Group: Development/Libraries
- License: GPL+ or Artistic
- URL: http://search.cpan.org/dist/Test-SubCalls/
- Source0: http://www.cpan.org/authors/id/A/AD/ADAMK/Test-SubCalls-%{version}.tar.gz
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- BuildArch: noarch
- BuildRequires: perl(ExtUtils::MakeMaker)
- BuildRequires: perl(Hook::LexWrap)
- BuildRequires: perl(Test::Builder::Tester)
- BuildRequires: perl(Test::More)
- #BuildRequires: perl(Class::Inspector)
- Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
- %if 0%{!?perl_bootstrap:1}
- # for improved tests
- BuildRequires: perl(Test::CPAN::Meta)
- # FIXME: Fedora's Pod::Simple is outdated
- # BuildRequires: perl(Pod::Simple) >= 3.07
- BuildRequires: perl(Pod::Simple)
- BuildRequires: perl(Test::Pod)
- BuildRequires: perl(Test::MinimumVersion)
- %endif
- Vendor: Project Vine
- Distribution: Vine Linux
- Packager: shaolin
- %description
- There are a number of different situations (like testing cacheing
- code) where you want to want to do a number of tests, and then verify
- that some underlying subroutine deep within the code was called a
- specific number of times.
- %prep
- %setup -q -n Test-SubCalls-%{version}
- %build
- %{__perl} Makefile.PL INSTALLDIRS=vendor
- make %{?_smp_mflags}
- %install
- rm -rf $RPM_BUILD_ROOT
- make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
- find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
- find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
- chmod -R u+w $RPM_BUILD_ROOT/*
- %check
- make test AUTOMATED_TESTING=1
- %clean
- rm -rf $RPM_BUILD_ROOT
- %files
- %defattr(-,root,root,-)
- %license LICENSE
- %doc Changes README
- %{perl_vendorlib}/Test/
- %{_mandir}/man3/*.3pm*
- %changelog
- * Sat May 18 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.10-1
- - new upstream release.
- - rebuilt with perl-5.26.
- * Sat Nov 15 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.09-4
- - rebuilt with perl 5.16.3
- * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.09-3
- - rebuild
- * Fri Feb 24 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.09-2
- - undefine perl_bootstrap this time
- * Fri Feb 24 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.09-1
- - initial build for Vine Linux
- * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.09-7
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
- * Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 1.09-6
- - Perl mass rebuild
- * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.09-5
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
- * Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.09-4
- - 661697 rebuild for fixing problems with vendorach/lib
- * Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.09-3
- - Mass rebuild with perl-5.12.0
- * Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 1.09-2
- - rebuild against perl 5.10.1
- * Wed Oct 7 2009 Marcela Mašláňová <mmaslano@redhat.com> - 1.09-1
- - update to new upstream release
- * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.08-3
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
- * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.08-2
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
- * Sun Oct 05 2008 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.08-1
- - Upstream update.
- - Activate AUTOMATED_TESTING.
- * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.07-3
- - Rebuild for perl 5.10 (again)
- * Sat Jan 12 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.07-2
- - rebuild for new perl
- * Wed Dec 19 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.07-1
- - bump to 1.07
- - license fix
- * Fri May 12 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.06-1
- - Update to 1.06.
- * Tue Apr 25 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.05-1
- - First build.
|