|
|
7eda60 |
Name: perl-Test-ClassAPI
|
|
|
7eda60 |
Version: 1.06
|
|
|
7eda60 |
Release: 14%{?dist}
|
|
|
7eda60 |
Summary: Provides basic first-pass API testing for large class trees
|
|
|
7eda60 |
License: GPL+ or Artistic
|
|
|
7eda60 |
Group: Development/Libraries
|
|
|
7eda60 |
URL: http://search.cpan.org/dist/Test-ClassAPI/
|
|
|
7eda60 |
Source0: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Test-ClassAPI-%{version}.tar.gz
|
|
|
7eda60 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
7eda60 |
|
|
|
7eda60 |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
7eda60 |
BuildArch: noarch
|
|
|
7eda60 |
|
|
|
7eda60 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
7eda60 |
BuildRequires: perl(Config::Tiny) >= 2.00
|
|
|
7eda60 |
BuildRequires: perl(Class::Inspector) >= 1.12
|
|
|
7eda60 |
BuildRequires: perl(File::Spec) >= 0.83
|
|
|
7eda60 |
|
|
|
7eda60 |
# Explictly required by lib/Test/ClassAPI.pm
|
|
|
7eda60 |
BuildRequires: perl(Params::Util) >= 1.00
|
|
|
7eda60 |
|
|
|
7eda60 |
%if !%{defined perl_bootstrap}
|
|
|
7eda60 |
# For improved tests
|
|
|
7eda60 |
BuildRequires: perl(Test::Pod)
|
|
|
7eda60 |
|
|
|
7eda60 |
# For improved tests
|
|
|
7eda60 |
BuildRequires: perl(Test::CPAN::Meta) >= 0.12
|
|
|
7eda60 |
BuildRequires: perl(Pod::Simple) >= 3.07
|
|
|
7eda60 |
BuildRequires: perl(Test::MinimumVersion) >= 0.008
|
|
|
7eda60 |
%endif
|
|
|
7eda60 |
|
|
|
7eda60 |
%description
|
|
|
7eda60 |
Provides basic first-pass API testing for large class trees.
|
|
|
7eda60 |
|
|
|
7eda60 |
For many APIs with large numbers of classes, it can be very useful to be
|
|
|
7eda60 |
able to do a quick once-over to make sure that classes, methods, and
|
|
|
7eda60 |
inheritance is correct, before doing more comprehensive testing.
|
|
|
7eda60 |
This module aims to provide such a capability.
|
|
|
7eda60 |
|
|
|
7eda60 |
%prep
|
|
|
7eda60 |
%setup -q -n Test-ClassAPI-%{version}
|
|
|
7eda60 |
|
|
|
7eda60 |
%build
|
|
|
7eda60 |
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
7eda60 |
make %{?_smp_mflags}
|
|
|
7eda60 |
|
|
|
7eda60 |
%install
|
|
|
7eda60 |
rm -rf $RPM_BUILD_ROOT
|
|
|
7eda60 |
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
7eda60 |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
|
|
7eda60 |
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
|
|
7eda60 |
chmod -R u+w $RPM_BUILD_ROOT/*
|
|
|
7eda60 |
|
|
|
7eda60 |
%clean
|
|
|
7eda60 |
rm -rf $RPM_BUILD_ROOT
|
|
|
7eda60 |
|
|
|
7eda60 |
%check
|
|
|
7eda60 |
%if !%{defined perl_bootstrap}
|
|
|
7eda60 |
# remove until fix of Perl::MinimalVersion and version.pm
|
|
|
7eda60 |
rm -rf t/99_pmv.t
|
|
|
7eda60 |
make test AUTOMATED_TESTING=1
|
|
|
7eda60 |
%endif
|
|
|
7eda60 |
|
|
|
7eda60 |
%files
|
|
|
7eda60 |
%defattr(-,root,root,-)
|
|
|
7eda60 |
%doc Changes LICENSE
|
|
|
7eda60 |
%{perl_vendorlib}/Test
|
|
|
7eda60 |
%{_mandir}/man3/*
|
|
|
7eda60 |
|
|
|
7eda60 |
%changelog
|
|
|
7eda60 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.06-14
|
|
|
7eda60 |
- Mass rebuild 2013-12-27
|
|
|
7eda60 |
|
|
|
7eda60 |
* Mon Aug 20 2012 Daniel Mach <dmach@redhat.com> - 1.06-13.1
|
|
|
7eda60 |
- Rebuild for perl 5.16
|
|
|
7eda60 |
|
|
|
7eda60 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.06-13
|
|
|
7eda60 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
7eda60 |
|
|
|
7eda60 |
* Tue Jul 10 2012 Petr Pisar <ppisar@redhat.com> - 1.06-12
|
|
|
7eda60 |
- Perl 5.16 re-rebuild of bootstrapped packages
|
|
|
7eda60 |
|
|
|
7eda60 |
* Wed Jun 13 2012 Petr Pisar <ppisar@redhat.com> - 1.06-11
|
|
|
7eda60 |
- Perl 5.16 rebuild
|
|
|
7eda60 |
|
|
|
7eda60 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.06-10
|
|
|
7eda60 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
7eda60 |
|
|
|
7eda60 |
* Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 1.06-9
|
|
|
7eda60 |
- Perl mass rebuild
|
|
|
7eda60 |
|
|
|
7eda60 |
* Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 1.06-8
|
|
|
7eda60 |
- Perl mass rebuild
|
|
|
7eda60 |
|
|
|
7eda60 |
* Tue Jun 28 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.06-7
|
|
|
7eda60 |
- rebuild with Perl 5.14.1
|
|
|
7eda60 |
- use perl_bootstrap macro
|
|
|
7eda60 |
|
|
|
7eda60 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.06-6
|
|
|
7eda60 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
7eda60 |
|
|
|
7eda60 |
* Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.06-5
|
|
|
7eda60 |
- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
7eda60 |
|
|
|
7eda60 |
* Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.06-4
|
|
|
7eda60 |
- Mass rebuild with perl-5.12.0
|
|
|
7eda60 |
|
|
|
7eda60 |
* Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 1.06-3
|
|
|
7eda60 |
- rebuild against perl 5.10.1
|
|
|
7eda60 |
|
|
|
7eda60 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.06-2
|
|
|
7eda60 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
7eda60 |
|
|
|
7eda60 |
* Mon Jul 20 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.06-1
|
|
|
7eda60 |
- Upstream update.
|
|
|
7eda60 |
|
|
|
7eda60 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.05-4
|
|
|
7eda60 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
7eda60 |
|
|
|
7eda60 |
* Tue Sep 16 2008 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.05-3
|
|
|
7eda60 |
- Reflect perl(Test::CPAN::Meta) >= 0.12 finally being available in Fedora.
|
|
|
7eda60 |
|
|
|
7eda60 |
* Tue Aug 26 2008 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.05-2
|
|
|
7eda60 |
- Bump release.
|
|
|
7eda60 |
|
|
|
7eda60 |
* Tue Aug 26 2008 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.05-1
|
|
|
7eda60 |
- Upstream update.
|
|
|
7eda60 |
|
|
|
7eda60 |
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.04-4
|
|
|
7eda60 |
- Rebuild for perl 5.10 (again)
|
|
|
7eda60 |
|
|
|
7eda60 |
* Sun Jan 13 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.04-3
|
|
|
7eda60 |
- rebuild for new perl
|
|
|
7eda60 |
|
|
|
7eda60 |
* Thu Sep 06 2007 Ralf Corsépius <rc040203@freenet.de> - 1.04-2
|
|
|
7eda60 |
- Update license tag.
|
|
|
7eda60 |
|
|
|
7eda60 |
* Mon Mar 12 2007 Ralf Corsépius <rc040203@freenet.de> - 1.04-1
|
|
|
7eda60 |
- Upstream update.
|
|
|
7eda60 |
- BR: perl(ExtUtils::MakeMaker).
|
|
|
7eda60 |
|
|
|
7eda60 |
* Fri Feb 16 2007 Ralf Corsépius <rc040203@freenet.de> - 1.03-1
|
|
|
7eda60 |
- Upstream update.
|
|
|
7eda60 |
|
|
|
7eda60 |
* Tue Sep 05 2006 Ralf Corsépius <rc040203@freenet.de> - 1.02-4
|
|
|
7eda60 |
- Mass rebuild.
|
|
|
7eda60 |
|
|
|
7eda60 |
* Wed Mar 01 2006 Ralf Corsépius <rc040203@freenet.de> - 1.02-3
|
|
|
7eda60 |
- Rebuild for perl-5.8.8.
|
|
|
7eda60 |
|
|
|
7eda60 |
* Tue Sep 14 2005 Ralf Corsepius <rc040203@freenet.de> - 1.02-2
|
|
|
7eda60 |
- New %%summary.
|
|
|
7eda60 |
- Extend %%description.
|
|
|
7eda60 |
- Don't put README into %%doc (Redundant to man page).
|
|
|
7eda60 |
|
|
|
7eda60 |
* Tue Sep 13 2005 Ralf Corsepius <rc040203@freenet.de> - 1.02-1
|
|
|
7eda60 |
- Spec file cleanup.
|
|
|
7eda60 |
- FE submission.
|
|
|
7eda60 |
|
|
|
7eda60 |
* Wed Jun 22 2005 Ralf Corsepius <ralf@links2linux.de> - 1.02-0.pm.0
|
|
|
7eda60 |
- Initial packman version.
|