Update to 0.014

- New upstream release 0.014
  - Avoid assuming that t/todo.t is always called t/todo.t
- Classify buildreqs by usage
- Use %license
This commit is contained in:
Paul Howarth 2014-12-10 20:12:07 +00:00
parent 9a3ef8723c
commit 3a01b05efe
2 changed files with 42 additions and 26 deletions

View File

@ -1,26 +1,32 @@
Summary: Incredibly simple helpers for testing code with exceptions Summary: Incredibly simple helpers for testing code with exceptions
Name: perl-Test-Fatal Name: perl-Test-Fatal
Version: 0.013 Version: 0.014
Release: 3%{?dist} Release: 1%{?dist}
License: GPL+ or Artistic License: GPL+ or Artistic
Group: Development/Libraries Group: Development/Libraries
Url: http://search.cpan.org/dist/Test-Fatal/ Url: http://search.cpan.org/dist/Test-Fatal/
Source0: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Test-Fatal-%{version}.tar.gz Source0: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Test-Fatal-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRequires: perl(blib) # Module Build
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)
# Module Runtime
BuildRequires: perl(Carp) BuildRequires: perl(Carp)
BuildRequires: perl(Exporter) >= 5.57 BuildRequires: perl(Exporter) >= 5.57
BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(strict)
BuildRequires: perl(File::Spec)
BuildRequires: perl(IO::Handle)
BuildRequires: perl(IPC::Open3)
BuildRequires: perl(overload)
BuildRequires: perl(Test::Builder) BuildRequires: perl(Test::Builder)
BuildRequires: perl(Try::Tiny) >= 0.07
BuildRequires: perl(warnings)
# Test Suite
BuildRequires: perl(File::Spec)
BuildRequires: perl(overload)
BuildRequires: perl(Test::Builder::Tester) BuildRequires: perl(Test::Builder::Tester)
BuildRequires: perl(Test::More) >= 0.96 BuildRequires: perl(Test::More) >= 0.96
# Optional Tests
BuildRequires: perl(CPAN::Meta) >= 2.120900
# Extra Tests
BuildRequires: perl(Test::Pod) >= 1.41 BuildRequires: perl(Test::Pod) >= 1.41
BuildRequires: perl(Try::Tiny) >= 0.07 # Runtime
BuildRequires: perl(version)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Test::Builder) Requires: perl(Test::Builder)
@ -32,6 +38,9 @@ with about the same amount of typing.
%prep %prep
%setup -q -n Test-Fatal-%{version} %setup -q -n Test-Fatal-%{version}
# Avoid doc-file dependencies
chmod -c -x examples/*
%build %build
perl Makefile.PL INSTALLDIRS=vendor perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags} make %{?_smp_mflags}
@ -46,11 +55,18 @@ make test
make test TEST_FILES="$(echo $(find xt/ -name '*.t'))" make test TEST_FILES="$(echo $(find xt/ -name '*.t'))"
%files %files
%doc Changes LICENSE README examples/ %license LICENSE
%doc Changes README examples/
%{perl_vendorlib}/Test/ %{perl_vendorlib}/Test/
%{_mandir}/man3/Test::Fatal.3pm* %{_mandir}/man3/Test::Fatal.3*
%changelog %changelog
* Wed Dec 10 2014 Paul Howarth <paul@city-fan.org> - 0.014-1
- Update to 0.014
- Avoid assuming that t/todo.t is always called t/todo.t
- Classify buildreqs by usage
- Use %%license
* Fri Aug 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.013-3 * Fri Aug 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.013-3
- Perl 5.20 rebuild - Perl 5.20 rebuild
@ -95,61 +111,61 @@ make test TEST_FILES="$(echo $(find xt/ -name '*.t'))"
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 0.010-2 * Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 0.010-2
- Perl 5.16 rebuild - Perl 5.16 rebuild
* Thu Feb 16 2012 Paul Howarth <paul@city-fan.org> 0.010-1 * Thu Feb 16 2012 Paul Howarth <paul@city-fan.org> - 0.010-1
- Update to 0.010 - Update to 0.010
- Avoid tickling an overloading bug in perl 5.6 during testing - Avoid tickling an overloading bug in perl 5.6 during testing
(CPAN RT#74847) (CPAN RT#74847)
* Fri Feb 10 2012 Paul Howarth <paul@city-fan.org> 0.009-1 * Fri Feb 10 2012 Paul Howarth <paul@city-fan.org> - 0.009-1
- Update to 0.009 - Update to 0.009
- Advise against using isnt(exception{...},undef) - Advise against using isnt(exception{...},undef)
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> 0.008-2 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.008-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Mon Nov 7 2011 Paul Howarth <paul@city-fan.org> 0.008-1 * Mon Nov 7 2011 Paul Howarth <paul@city-fan.org> - 0.008-1
- Update to 0.008 - Update to 0.008
- Revert the mistake by which 0.004 allowed blocks after "exception" as well - Revert the mistake by which 0.004 allowed blocks after "exception" as well
as "success" as "success"
- BR: perl(Carp) - BR: perl(Carp)
- Update patch for building with ExtUtils::MakeMaker < 6.30 - Update patch for building with ExtUtils::MakeMaker < 6.30
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> 0.006-2 * Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.006-2
- Perl mass rebuild - Perl mass rebuild
* Thu Jun 2 2011 Paul Howarth <paul@city-fan.org> 0.006-1 * Thu Jun 2 2011 Paul Howarth <paul@city-fan.org> - 0.006-1
- Update to 0.006 - Update to 0.006
- Crank back the Test::More and Exporter requirements (CPAN RT#62699) - Crank back the Test::More and Exporter requirements (CPAN RT#62699)
- Add lives_ok and dies_ok emulation (CPAN RT#67598) - Add lives_ok and dies_ok emulation (CPAN RT#67598)
- Versions patch replaced by workaround for old ExtUtils::MakeMaker - Versions patch replaced by workaround for old ExtUtils::MakeMaker
- BR: perl(Test::Builder::Tester) - BR: perl(Test::Builder::Tester)
* Tue Apr 26 2011 Paul Howarth <paul@city-fan.org> 0.005-1 * Tue Apr 26 2011 Paul Howarth <paul@city-fan.org> - 0.005-1
- Update to 0.005 - Update to 0.005
- Fix the logic that picks tests for 5.13.1+ - Fix the logic that picks tests for 5.13.1+
* Tue Apr 26 2011 Paul Howarth <paul@city-fan.org> 0.004-1 * Tue Apr 26 2011 Paul Howarth <paul@city-fan.org> - 0.004-1
- Update to 0.004 - Update to 0.004
- success blocks now allow trailing blocks like finally, catch, etc. - success blocks now allow trailing blocks like finally, catch, etc.
- Remove remaining uses of macros for commands - Remove remaining uses of macros for commands
- Re-order %%install section to conventional position in spec - Re-order %%install section to conventional position in spec
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> 0.003-2 * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.003-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Fri Oct 29 2010 Paul Howarth <paul@city-fan.org> 0.003-1 * Fri Oct 29 2010 Paul Howarth <paul@city-fan.org> - 0.003-1
- Update to 0.003 - Update to 0.003
- More tests for false exceptions, especially on 5.13 - More tests for false exceptions, especially on 5.13
- Update versions patch - Update versions patch
* Thu Oct 28 2010 Paul Howarth <paul@city-fan.org> 0.002-1 * Thu Oct 28 2010 Paul Howarth <paul@city-fan.org> - 0.002-1
- Update to 0.002 - Update to 0.002
- Add tests for handling of false exceptions - Add tests for handling of false exceptions
- Fix precedence error in documentation - Fix precedence error in documentation
- Update versions patch - Update versions patch
* Wed Oct 27 2010 Paul Howarth <paul@city-fan.org> 0.001-2 * Wed Oct 27 2010 Paul Howarth <paul@city-fan.org> - 0.001-2
- Sanitize spec for Fedora submission - Sanitize spec for Fedora submission
* Tue Oct 26 2010 Paul Howarth <paul@city-fan.org> 0.001-1 * Tue Oct 26 2010 Paul Howarth <paul@city-fan.org> - 0.001-1
- Initial RPM version - Initial RPM version

View File

@ -1 +1 @@
e3d13b3c7e42f4574c843aca5d9f4570 Test-Fatal-0.013.tar.gz 7954f6d2e3607be10c0fbd69063a3d1b Test-Fatal-0.014.tar.gz