Update to 0.016

- New upstream release 0.016
  - Add default descriptions to tests
  - Work on ancient Test::Builder code
- Use author-independent source URL
- Simplify find command using -delete
- Fix permissions verbosely
This commit is contained in:
Paul Howarth 2020-08-10 11:22:05 +01:00
parent 9c8fcc041f
commit 5f7cb8c58a
2 changed files with 21 additions and 9 deletions

View File

@ -10,15 +10,18 @@
Summary: Incredibly simple helpers for testing code with exceptions
Name: perl-Test-Fatal
Version: 0.014
Release: 17%{?dist}
Version: 0.016
Release: 1%{?dist}
License: GPL+ or Artistic
Url: https://metacpan.org/release/Test-Fatal
Source0: https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Test-Fatal-%{version}.tar.gz
URL: https://metacpan.org/release/Test-Fatal
Source0: https://cpan.metacpan.org/modules/by-module/Test/Test-Fatal-%{version}.tar.gz
BuildArch: noarch
# Module Build
BuildRequires: perl-interpreter
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker)
# Module Runtime
BuildRequires: perl(Carp)
@ -31,13 +34,14 @@ BuildRequires: perl(warnings)
BuildRequires: perl(File::Spec)
BuildRequires: perl(overload)
BuildRequires: perl(Test::Builder::Tester)
BuildRequires: perl(Test::More) >= 0.96
BuildRequires: perl(Test::More) >= 0.65
%if %{with perl_Test_Fatal_enables_optional_test}
# Optional Tests
BuildRequires: perl(CPAN::Meta) >= 2.120900
%endif
%if %{with perl_Test_Fatal_enables_extra_test}
# Extra Tests
BuildRequires: perl(Encode)
BuildRequires: perl(Test::Pod) >= 1.41
%endif
# Runtime
@ -61,8 +65,8 @@ make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
%{_fixperms} %{buildroot}
find %{buildroot} -type f -name .packlist -delete
%{_fixperms} -c %{buildroot}
%check
make test
@ -77,6 +81,14 @@ make test TEST_FILES="$(echo $(find xt/ -name '*.t'))"
%{_mandir}/man3/Test::Fatal.3*
%changelog
* Mon Aug 10 2020 Paul Howarth <paul@city-fan.org> - 0.016-1
- Update to 0.016
- Add default descriptions to tests
- Work on ancient Test::Builder code
- Use author-independent source URL
- Simplify find command using -delete
- Fix permissions verbosely
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.014-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

View File

@ -1 +1 @@
7954f6d2e3607be10c0fbd69063a3d1b Test-Fatal-0.014.tar.gz
SHA512 (Test-Fatal-0.016.tar.gz) = 395d56cfc62fa5888458ec124710b5333f4c7396653e2755a69b08c738ca3d7503e8e413a10c8a55042fba15e90fa5331bb0bf9c59d3677c2ae5e710435120b5