From bdebd5a335f45cd6a2ff7d0c7e36d1b5704b5cd9 Mon Sep 17 00:00:00 2001 From: CentOS Buildsys Date: Nov 21 2012 13:24:17 +0000 Subject: import perl-Test-SubCalls-1.09-13.el7.src.rpm --- diff --git a/.perl-Test-SubCalls.metadata b/.perl-Test-SubCalls.metadata new file mode 100644 index 0000000..c1cb001 --- /dev/null +++ b/.perl-Test-SubCalls.metadata @@ -0,0 +1 @@ +a661586dd732fbf6aa5803ff8f64d727a5d35704 SOURCES/Test-SubCalls-1.09.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/perl-Test-SubCalls.spec b/SPECS/perl-Test-SubCalls.spec new file mode 100644 index 0000000..4a5cfb1 --- /dev/null +++ b/SPECS/perl-Test-SubCalls.spec @@ -0,0 +1,137 @@ +Name: perl-Test-SubCalls +Version: 1.09 +Release: 13%{?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 +* 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.