From 1939af56d72a2c6094cfa9d22fbc4e8c7e8e10a3 Mon Sep 17 00:00:00 2001
From: Paul Howarth <[email protected]>
Date: Tue, 16 Aug 2016 12:03:23 +0100
Subject: Update to 0.27

- New upstream release 0.27
  - "finally" blocks are now run for all methods of leaving the try block
     (including via exit, goto) (CPAN RT#112099)
  - Switch from finalizers using an array to a hash, to resolve segfaults when
    creating a pseudofork on MSWin before perl 5.20
    (karenetheridge/Sub-Name/#3)
  - Repository moved to the github p5sagit organization (the primary is on
    shadowcat, mirrored to github)
- Simplify find command using -delete
---
 perl-Try-Tiny.spec | 19 ++++++++++++++++---
 sources            |  2 +-
 2 files changed, 17 insertions(+), 4 deletions(-)

diff --git a/perl-Try-Tiny.spec b/perl-Try-Tiny.spec
index 3c605b4..3b8828a 100644
--- a/perl-Try-Tiny.spec
+++ b/perl-Try-Tiny.spec
@@ -1,7 +1,7 @@
 Name:          perl-Try-Tiny
 Summary:       Minimal try/catch with proper localization of $@
-Version:       0.24
-Release:       3%{?dist}
+Version:       0.27
+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
@@ -22,6 +22,7 @@ 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
@@ -53,7 +54,7 @@ make %{?_smp_mflags}
 
 %install
 make pure_install DESTDIR=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
+find %{buildroot} -type f -name .packlist -delete
 %{_fixperms} %{buildroot}
 
 %check
@@ -66,6 +67,18 @@ make test
 %{_mandir}/man3/Try::Tiny.3*
 
 %changelog
+* Tue Aug 16 2016 Paul Howarth <[email protected]> - 0.27-1
+- Update to 0.27
+  - "finally" blocks are now run for all methods of leaving the try block
+     (including via exit, goto) (CPAN RT#112099)
+  - Switch from finalizers using an array to a hash, to resolve segfaults when
+    creating a pseudofork on MSWin before perl 5.20
+    (karenetheridge/Sub-Name/#3)
+  - Repository moved to the github p5sagit organization (the primary is on
+    shadowcat, mirrored to github)
+- BR: perl-generators
+- Simplify find command using -delete
+
 * Sun May 15 2016 Jitka Plesnikova <[email protected]> - 0.24-3
 - Perl 5.24 rebuild
 
diff --git a/sources b/sources
index d4f8352..377ab25 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-1a12a51cfeb7e2c301e4ae093c7ecdfb  Try-Tiny-0.24.tar.gz
+e6ee3bcf382d53974becf712ef9301e2  Try-Tiny-0.27.tar.gz
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/perl-Try-Tiny.git/commit/?h=perl-Try-Tiny-0.27-1.fc25&id=1939af56d72a2c6094cfa9d22fbc4e8c7e8e10a3
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
[email protected]
https://lists.fedoraproject.org/admin/lists/[email protected]

Reply via email to