Update to 0.28

- New upstream release 0.28
  - Enabled some tests of finally blocks that were disabled on 5.6, now that
    that functionality works (since 0.13) (GH#4)
This commit is contained in:
Paul Howarth 2017-01-09 11:19:37 +00:00
parent 1939af56d7
commit 48211ea8aa
2 changed files with 10 additions and 4 deletions

View File

@ -1,6 +1,6 @@
Name: perl-Try-Tiny
Summary: Minimal try/catch with proper localization of $@
Version: 0.27
Version: 0.28
Release: 1%{?dist}
License: MIT
URL: http://search.cpan.org/dist/Try-Tiny
@ -22,11 +22,12 @@ BuildRequires: perl(Sub::Util)
BuildRequires: perl(warnings)
# Test Suite
BuildRequires: perl(File::Spec)
BuildRequires: perl(Module::Metadata)
BuildRequires: perl(Test::More)
# Optional Tests
BuildRequires: perl(Capture::Tiny) >= 0.12
BuildRequires: perl(CPAN::Meta) >= 2.120900
BuildRequires: perl(CPAN::Meta::Check) >= 0.011
BuildRequires: perl(CPAN::Meta::Requirements)
# Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Sub::Util)
@ -55,7 +56,7 @@ make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -delete
%{_fixperms} %{buildroot}
%{_fixperms} -c %{buildroot}
%check
make test
@ -67,6 +68,11 @@ make test
%{_mandir}/man3/Try::Tiny.3*
%changelog
* Mon Jan 9 2017 Paul Howarth <paul@city-fan.org> - 0.28-1
- Update to 0.28
- Enabled some tests of finally blocks that were disabled on 5.6, now that
that functionality works (since 0.13) (GH#4)
* Tue Aug 16 2016 Paul Howarth <paul@city-fan.org> - 0.27-1
- Update to 0.27
- "finally" blocks are now run for all methods of leaving the try block

View File

@ -1 +1 @@
e6ee3bcf382d53974becf712ef9301e2 Try-Tiny-0.27.tar.gz
SHA512 (Try-Tiny-0.28.tar.gz) = 5d83a96f493c09ea2d4522e2255f00d8b63576f95d54fbf30ca36705b6e2105471eb6c80a3e5b12dc66457b3696ade31b265fbcdebf62a52a4af60428de74ab7