Blame SPECS/perl-Test-SubCalls.spec

ca013f
Name:           perl-Test-SubCalls
ca013f
Version:        1.09
ca013f
Release:        14%{?dist}
ca013f
Summary:        Track the number of times subs are called
ca013f
Group:          Development/Libraries
ca013f
License:        GPL+ or Artistic
ca013f
URL:            http://search.cpan.org/dist/Test-SubCalls/
ca013f
Source0:        http://www.cpan.org/authors/id/A/AD/ADAMK/Test-SubCalls-%{version}.tar.gz
ca013f
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
ca013f
BuildArch:      noarch
ca013f
BuildRequires:  perl(Cwd)
ca013f
BuildRequires:  perl(Exporter)
ca013f
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.42
ca013f
BuildRequires:  perl(File::Path)
ca013f
BuildRequires:  perl(File::Spec) >= 0.80
ca013f
BuildRequires:  perl(File::Spec::Functions)
ca013f
BuildRequires:  perl(Hook::LexWrap) >= 0.20
ca013f
BuildRequires:  perl(Test::Builder)
ca013f
BuildRequires:  perl(Test::Builder::Tester) >= 1.02
ca013f
BuildRequires:  perl(Test::More) >= 0.42
ca013f
# Release tests include circular dependencies, so don't do them when bootstrapping:
ca013f
# Test::MinimumVersion -> Perl::MinimumVersion -> perl-PPI (needs Test::SubCalls to build)
ca013f
%if 0%{!?perl_bootstrap:1}
ca013f
BuildRequires:  perl(Pod::Simple) >= 3.07
ca013f
BuildRequires:  perl(Test::CPAN::Meta)
ca013f
BuildRequires:  perl(Test::MinimumVersion) >= 0.008
ca013f
BuildRequires:  perl(Test::Pod) >= 1.26
ca013f
%endif
ca013f
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
ca013f
ca013f
%description
ca013f
There is a number of different situations (like testing caching code) where
ca013f
you want to do a number of tests, and then verify that some underlying
ca013f
subroutine deep within the code was called a specific number of times.
ca013f
ca013f
%prep
ca013f
%setup -q -n Test-SubCalls-%{version}
ca013f
ca013f
%build
ca013f
perl Makefile.PL INSTALLDIRS=vendor
ca013f
make %{?_smp_mflags}
ca013f
ca013f
%install
ca013f
rm -rf $RPM_BUILD_ROOT
ca013f
make pure_install DESTDIR=$RPM_BUILD_ROOT
ca013f
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
ca013f
%{_fixperms} $RPM_BUILD_ROOT
ca013f
ca013f
%check
ca013f
make test %{!?perl_bootstrap:AUTOMATED_TESTING=1}
ca013f
ca013f
%clean
ca013f
rm -rf $RPM_BUILD_ROOT
ca013f
ca013f
%files
ca013f
%doc Changes LICENSE README
ca013f
%{perl_vendorlib}/Test/
ca013f
%{_mandir}/man3/Test::SubCalls.3pm*
ca013f
ca013f
%changelog
ca013f
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.09-14
ca013f
- Mass rebuild 2013-12-27
ca013f
ca013f
* Wed Nov 21 2012 Jitka Plesnikova <jplesnik@redhat.com> - 1.09-13
ca013f
- Update description
ca013f
ca013f
* Wed Oct 24 2012 Jitka Plesnikova <jplesnik@redhat.com> - 1.09-12
ca013f
- Specify all dependencies.
ca013f
ca013f
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.09-11
ca013f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
ca013f
ca013f
* Tue Jul 10 2012 Petr Pisar <ppisar@redhat.com> - 1.09-10
ca013f
- Perl 5.16 re-rebuild of bootstrapped packages
ca013f
ca013f
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 1.09-9
ca013f
- Perl 5.16 rebuild
ca013f
ca013f
* Thu Apr  5 2012 Paul Howarth <paul@city-fan.org> - 1.09-8
ca013f
- Don't run the release tests when bootstrapping, to avoid circular build deps
ca013f
- Sync buildreqs with upstream:
ca013f
  - BR: perl(Exporter)
ca013f
  - BR: perl(ExtUtils::MakeMaker) ≥ 6.42
ca013f
  - BR: perl(File::Spec) ≥ 0.80
ca013f
  - Bump perl(Pod::Simple) version requirement to at least 3.07
ca013f
  - BR: perl(Test::Builder)
ca013f
  - Drop perl(Test::More) version requirement to a minimum of 0.42
ca013f
- Make %%files list more explicit
ca013f
- Drop %%defattr, redundant since rpm 4.4
ca013f
- Use %%{_fixperms} macro rather than our own chmod incantation
ca013f
- Don't need to remove empty directories from the buildroot
ca013f
- Use DESTDIR rather than PERL_INSTALL_ROOT
ca013f
- Don't use macros for commands
ca013f
ca013f
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.09-7
ca013f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
ca013f
ca013f
* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 1.09-6
ca013f
- Perl mass rebuild
ca013f
ca013f
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.09-5
ca013f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
ca013f
ca013f
* Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.09-4
ca013f
- 661697 rebuild for fixing problems with vendorach/lib
ca013f
ca013f
* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.09-3
ca013f
- Mass rebuild with perl-5.12.0
ca013f
ca013f
* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 1.09-2
ca013f
- rebuild against perl 5.10.1
ca013f
ca013f
* Wed Oct  7 2009 Marcela Mašláňová <mmaslano@redhat.com> - 1.09-1
ca013f
- update to new upstream release
ca013f
ca013f
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.08-3
ca013f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
ca013f
ca013f
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.08-2
ca013f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
ca013f
ca013f
* Mon Oct 05 2008 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.08-1
ca013f
- Upstream update.
ca013f
- Activate AUTOMATED_TESTING.
ca013f
ca013f
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.07-3
ca013f
- Rebuild for perl 5.10 (again)
ca013f
ca013f
* Sat Jan 12 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.07-2
ca013f
- rebuild for new perl
ca013f
ca013f
* Wed Dec 19 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.07-1
ca013f
- bump to 1.07
ca013f
- license fix
ca013f
ca013f
* Fri May 12 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.06-1
ca013f
- Update to 1.06.
ca013f
ca013f
* Tue Apr 25 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.05-1
ca013f
- First build.