Name: perl-Test-Base Version: 0.62 Release: 2%{?dist} Summary: Data Driven Testing Framework License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Test-Base/ Source0: http://www.cpan.org/authors/id/I/IN/INGY/Test-Base-%{version}.tar.gz BuildArch: noarch BuildRequires: perl(base) BuildRequires: perl(Carp) BuildRequires: perl(Data::Dumper) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 BuildRequires: perl(File::Path) BuildRequires: perl(Filter::Util::Call) BuildRequires: perl(lib) BuildRequires: perl(LWP::Simple) BuildRequires: perl(MIME::Base64) BuildRequires: perl(Spiffy) >= 0.30 BuildRequires: perl(Test::Deep) BuildRequires: perl(Test::More) >= 0.62 BuildRequires: perl(Test::Pod) >= 1.41 BuildRequires: perl(Test::Tester) BuildRequires: perl(Text::Diff) >= 0.35 BuildRequires: perl(YAML) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(Data::Dumper) Requires: perl(File::Path) Requires: perl(Filter::Util::Call) Requires: perl(LWP::Simple) Requires: perl(MIME::Base64) Requires: perl(Test::Deep) Requires: perl(Text::Diff) >= 0.35 Requires: perl(YAML) %description Testing is usually the ugly part of Perl module authoring. Perl gives you a standard way to run tests with Test::Harness, and basic testing primitives with Test::More. After that you are pretty much on your own to develop a testing framework and philosophy. Test::More encourages you to make your own framework by subclassing Test::Builder, but that is not trivial. Test::Base gives you a way to write your own test framework base class that *is* trivial. %prep %setup -q -n Test-Base-%{version} %build perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install 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 RELEASE_TESTING=1 %files %doc Changes LICENSE README %{perl_vendorlib}/Module/ %{perl_vendorlib}/Test/ %{_mandir}/man3/Module::Install::TestBase.3pm* %{_mandir}/man3/Test::Base.3pm* %{_mandir}/man3/Test::Base::Filter.3pm* %changelog * Sat Jun 07 2014 Fedora Release Engineering - 0.62-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Tue Feb 11 2014 Paul Howarth - 0.62-1 - Update to 0.62 - Fix bad skip counts in tests * Mon Feb 10 2014 Paul Howarth - 0.61-1 - Update to 0.61 - Switch to dzil - Package upstream's LICENSE file - Make %%files list more explicit - Run the pod test too - Update dependencies - Extend %%description a little * Sun Aug 04 2013 Fedora Release Engineering - 0.60-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Sat Jul 20 2013 Petr Pisar - 0.60-8 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.60-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Thu Nov 08 2012 Jitka Plesnikova - 0.60-6 - Update dependencies - Use DESTDIR rather than PERL_INSTALL_ROOT - Don't use macros for commands - Don't need to remove empty directories from the buildroot * Fri Jul 20 2012 Fedora Release Engineering - 0.60-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Wed Jun 13 2012 Petr Pisar - 0.60-4 - Perl 5.16 rebuild * Fri Jan 13 2012 Fedora Release Engineering - 0.60-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Jun 29 2011 Marcela Mašláňová - 0.60-2 - Perl mass rebuild * Sat May 14 2011 Iain Arnell 0.60-1 - update to latest upstream version - clean up spec for modern rpmbuild * Wed Feb 09 2011 Fedora Release Engineering - 0.59-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Dec 22 2010 Marcela Maslanova - 0.59-2 - Rebuild to fix problems with vendorarch/lib (#661697) * Mon Dec 13 2010 Steven Pritchard 0.59-1 - Update to 0.59. * Thu May 06 2010 Marcela Maslanova - 0.58-4 - Mass rebuild with perl-5.12.0 * Fri Dec 4 2009 Stepan Kasal - 0.58-3 - rebuild against perl 5.10.1 * Sun Jul 26 2009 Fedora Release Engineering - 0.58-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Sun May 17 2009 Steven Pritchard 0.58-1 - Update to 0.58. - BR Test::Deep and Test::Tester. * Thu Feb 26 2009 Fedora Release Engineering - 0.55-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Wed Dec 10 2008 Steven Pritchard 0.55-1 - Update to 0.55. - Explicitly BR Test::More >= 0.62. - BR YAML. * Thu Mar 06 2008 Tom "spot" Callaway - 0.54-3 - Rebuild for new perl * Sat Jul 07 2007 Steven Pritchard 0.54-2 - BR Test::More. * Mon Jul 02 2007 Steven Pritchard 0.54-1 - Update to 0.54. * Wed Apr 18 2007 Steven Pritchard 0.53-2 - BR ExtUtils::MakeMaker. * Sat Dec 09 2006 Steven Pritchard 0.53-1 - Update to 0.53. - Use fixperms macro instead of our own chmod incantation. * Sat Sep 16 2006 Steven Pritchard 0.52-2 - Fix find option order. * Sat Jul 01 2006 Steven Pritchard 0.52-1 - Update to 0.52. * Mon May 08 2006 Steven Pritchard 0.50-2 - Add explicit dependencies for Text::Diff and LWP::Simple. * Thu May 04 2006 Steven Pritchard 0.50-1 - Specfile autogenerated by cpanspec 1.65. - Remove explicit BR: perl and Requires: perl(Spiffy).