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:
parent
1939af56d7
commit
48211ea8aa
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user