Update to 0.012
- New upstream release 0.012 - Go back to auto-detecting the required Test::More, reverting the changes made for CPAN RT#62699 - Drop support for all current EL releases (5 and 6) since we need Test::More version 0.96 or later for the test suite
This commit is contained in:
parent
a0d97cf90e
commit
d8b724a9e1
@ -1,12 +1,11 @@
|
||||
Summary: Incredibly simple helpers for testing code with exceptions
|
||||
Name: perl-Test-Fatal
|
||||
Version: 0.011
|
||||
Version: 0.012
|
||||
Release: 1%{?dist}
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
Url: http://search.cpan.org/dist/Test-Fatal/
|
||||
Source0: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Test-Fatal-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl(blib)
|
||||
BuildRequires: perl(Capture::Tiny)
|
||||
@ -36,7 +35,6 @@ perl Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
make pure_install DESTDIR=%{buildroot}
|
||||
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
||||
%{_fixperms} %{buildroot}
|
||||
@ -45,15 +43,19 @@ find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
||||
make test
|
||||
make test TEST_FILES="$(echo $(find xt/ -name '*.t'))"
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%doc Changes LICENSE README examples/
|
||||
%{perl_vendorlib}/Test/
|
||||
%{_mandir}/man3/Test::Fatal.3pm*
|
||||
|
||||
%changelog
|
||||
* Tue Sep 17 2013 Paul Howarth <paul@city-fan.org> - 0.012-1
|
||||
- Update to 0.012
|
||||
- Go back to auto-detecting the required Test::More, reverting the changes
|
||||
made for CPAN RT#62699
|
||||
- Drop support for all current EL releases (5 and 6) since we need Test::More
|
||||
version 0.96 or later for the test suite
|
||||
|
||||
* Tue Sep 17 2013 Paul Howarth <paul@city-fan.org> - 0.011-1
|
||||
- Update to 0.011
|
||||
- More clearly (and correctly) document the way NOT to use Test::Fatal
|
||||
|
Loading…
Reference in New Issue
Block a user