@ -1,6 +1,6 @@
Name: perl-Test-Base
Version: 0.60
Release: 9 %{?dist}
Version: 0.61
Release: 1 %{?dist}
Summary: Data Driven Testing Framework
License: GPL+ or Artistic
Group: Development/Libraries
@ -9,25 +9,29 @@ Source0: http://www.cpan.org/authors/id/I/IN/INGY/Test-Base-%{version}.ta
BuildArch: noarch
BuildRequires: perl(base)
BuildRequires: perl(Carp)
BuildRequires: perl(Cwd )
BuildRequires: perl(ExtUtils::MakeMaker)
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(Text::Diff) >= 0.35
Requires: perl(Test::Deep)
Requires: perl(Text::Diff) >= 0.35
Requires: perl(YAML)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
Testing is usually the ugly part of Perl module authoring. Perl gives you a
@ -36,6 +40,9 @@ 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}
@ -45,20 +52,30 @@ 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/*
%{_fixperms} $RPM_BUILD_ROOT
%check
make test
make test RELEASE_TESTING=1
%files
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%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
* Mon Feb 10 2014 Paul Howarth <paul@city-fan.org> - 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 <rel-eng@lists.fedoraproject.org> - 0.60-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
@ -94,7 +111,7 @@ make test
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.59-2
- 661697 rebuild for fixing problems with vendorach/lib
- Rebuild to fix problems with vendorarch/lib (#661697)
* Mon Dec 13 2010 Steven Pritchard <steve@kspei.com> 0.59-1
- Update to 0.59.