Name: perl-Test-SubCalls Version: 1.09 Release: 14%{?dist} 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}-%{release}-root-%(id -nu) BuildArch: noarch BuildRequires: perl(Cwd) BuildRequires: perl(Exporter) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42 BuildRequires: perl(File::Path) BuildRequires: perl(File::Spec) >= 0.80 BuildRequires: perl(File::Spec::Functions) BuildRequires: perl(Hook::LexWrap) >= 0.20 BuildRequires: perl(Test::Builder) BuildRequires: perl(Test::Builder::Tester) >= 1.02 BuildRequires: perl(Test::More) >= 0.42 # Release tests include circular dependencies, so don't do them when bootstrapping: # Test::MinimumVersion -> Perl::MinimumVersion -> perl-PPI (needs Test::SubCalls to build) %if 0%{!?perl_bootstrap:1} BuildRequires: perl(Pod::Simple) >= 3.07 BuildRequires: perl(Test::CPAN::Meta) BuildRequires: perl(Test::MinimumVersion) >= 0.008 BuildRequires: perl(Test::Pod) >= 1.26 %endif Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description There is a number of different situations (like testing caching code) where you 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 DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' %{_fixperms} $RPM_BUILD_ROOT %check make test %{!?perl_bootstrap:AUTOMATED_TESTING=1} %clean rm -rf $RPM_BUILD_ROOT %files %doc Changes LICENSE README %{perl_vendorlib}/Test/ %{_mandir}/man3/Test::SubCalls.3pm* %changelog * Fri Dec 27 2013 Daniel Mach - 1.09-14 - Mass rebuild 2013-12-27 * Wed Nov 21 2012 Jitka Plesnikova - 1.09-13 - Update description * Wed Oct 24 2012 Jitka Plesnikova - 1.09-12 - Specify all dependencies. * Fri Jul 20 2012 Fedora Release Engineering - 1.09-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue Jul 10 2012 Petr Pisar - 1.09-10 - Perl 5.16 re-rebuild of bootstrapped packages * Tue Jun 12 2012 Petr Pisar - 1.09-9 - Perl 5.16 rebuild * Thu Apr 5 2012 Paul Howarth - 1.09-8 - Don't run the release tests when bootstrapping, to avoid circular build deps - Sync buildreqs with upstream: - BR: perl(Exporter) - BR: perl(ExtUtils::MakeMaker) ≥ 6.42 - BR: perl(File::Spec) ≥ 0.80 - Bump perl(Pod::Simple) version requirement to at least 3.07 - BR: perl(Test::Builder) - Drop perl(Test::More) version requirement to a minimum of 0.42 - Make %%files list more explicit - Drop %%defattr, redundant since rpm 4.4 - Use %%{_fixperms} macro rather than our own chmod incantation - Don't need to remove empty directories from the buildroot - Use DESTDIR rather than PERL_INSTALL_ROOT - Don't use macros for commands * Fri Jan 13 2012 Fedora Release Engineering - 1.09-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Jul 19 2011 Petr Sabata - 1.09-6 - Perl mass rebuild * Wed Feb 09 2011 Fedora Release Engineering - 1.09-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Dec 22 2010 Marcela Maslanova - 1.09-4 - 661697 rebuild for fixing problems with vendorach/lib * Fri May 07 2010 Marcela Maslanova - 1.09-3 - Mass rebuild with perl-5.12.0 * Fri Dec 4 2009 Stepan Kasal - 1.09-2 - rebuild against perl 5.10.1 * Wed Oct 7 2009 Marcela Mašláňová - 1.09-1 - update to new upstream release * Sun Jul 26 2009 Fedora Release Engineering - 1.08-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 1.08-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Mon Oct 05 2008 Ralf Corsépius - 1.08-1 - Upstream update. - Activate AUTOMATED_TESTING. * Wed Feb 27 2008 Tom "spot" Callaway - 1.07-3 - Rebuild for perl 5.10 (again) * Sat Jan 12 2008 Tom "spot" Callaway - 1.07-2 - rebuild for new perl * Wed Dec 19 2007 Tom "spot" Callaway - 1.07-1 - bump to 1.07 - license fix * Fri May 12 2006 Jose Pedro Oliveira - 1.06-1 - Update to 1.06. * Tue Apr 25 2006 Jose Pedro Oliveira - 0.05-1 - First build.