diff --git a/.rpmlint b/.rpmlint new file mode 100644 index 0000000..2df48a2 --- /dev/null +++ b/.rpmlint @@ -0,0 +1,7 @@ +from Config import * + +# eval is a perl keyword +addFilter("spelling-error %description -l en_US eval -> ") + +# documentation, doesn't matter +addFilter("wrong-script-interpreter /usr/share/doc/perl-Try-Tiny.*/t/00-report-prereqs.t perl") diff --git a/perl-Try-Tiny.spec b/perl-Try-Tiny.spec index bdeeec7..56fee88 100644 --- a/perl-Try-Tiny.spec +++ b/perl-Try-Tiny.spec @@ -2,8 +2,8 @@ Name: perl-Try-Tiny Summary: Minimal try/catch with proper localization of $@ -Version: 0.28 -Release: 4%{?dist} +Version: 0.29 +Release: 1%{?dist} License: MIT URL: http://search.cpan.org/dist/Try-Tiny Source0: http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Try-Tiny-%{version}.tar.gz @@ -12,8 +12,8 @@ BuildArch: noarch BuildRequires: coreutils BuildRequires: findutils BuildRequires: make -BuildRequires: perl-interpreter BuildRequires: perl-generators +BuildRequires: perl-interpreter BuildRequires: perl(ExtUtils::MakeMaker) # Module BuildRequires: perl(Carp) @@ -24,9 +24,9 @@ BuildRequires: perl(Sub::Util) BuildRequires: perl(warnings) # Test Suite BuildRequires: perl(File::Spec) -BuildRequires: perl(Test::More) -%if %{with perl_Try_Tiny_enables_optional_test} +BuildRequires: perl(Test::More) >= 0.96 # Optional Tests +%if %{with perl_Try_Tiny_enables_optional_test} BuildRequires: perl(Capture::Tiny) >= 0.12 BuildRequires: perl(CPAN::Meta) >= 2.120900 BuildRequires: perl(CPAN::Meta::Check) >= 0.011 @@ -72,6 +72,11 @@ make test %{_mandir}/man3/Try::Tiny.3* %changelog +* Tue Dec 19 2017 Paul Howarth - 0.29-1 +- Update to 0.29 + - Skip tests of "when" and "given/when" usage for perl 5.27.7 *only* + (see CPAN RT#123908) + * Thu Jul 27 2017 Fedora Release Engineering - 0.28-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild diff --git a/sources b/sources index 48752c5..67cf556 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Try-Tiny-0.28.tar.gz) = 5d83a96f493c09ea2d4522e2255f00d8b63576f95d54fbf30ca36705b6e2105471eb6c80a3e5b12dc66457b3696ade31b265fbcdebf62a52a4af60428de74ab7 +SHA512 (Try-Tiny-0.29.tar.gz) = 7c7323edf5c93c635f9efd49b9167ad111947326d1685eaa2d612758f7b2547f8ca23255542243ff78668d5f42b30d64b537fef9278afc553406b268fe7d7cea