[perl-Try-Tiny] Update to 0.22

Paul Howarth pghmcfc at fedoraproject.org
Tue Apr 29 22:33:34 UTC 2014


commit aacd888ded56d49385fc76aef9a414ca73167ba0
Author: Paul Howarth <paul at city-fan.org>
Date:   Tue Apr 29 23:31:26 2014 +0100

    Update to 0.22
    
    - New upstream release 0.22
      - Add optional test deps as recommended prereqs
        (https://github.com/doy/try-tiny/pull/18)
    - Update patch for building with Test::More < 0.88

 ...ore.patch => Try-Tiny-0.22-old-Test::More.patch |    9 ++++++---
 perl-Try-Tiny.spec                                 |   10 ++++++++--
 sources                                            |    2 +-
 3 files changed, 15 insertions(+), 6 deletions(-)
---
diff --git a/Try-Tiny-0.20-old-Test::More.patch b/Try-Tiny-0.22-old-Test::More.patch
similarity index 71%
rename from Try-Tiny-0.20-old-Test::More.patch
rename to Try-Tiny-0.22-old-Test::More.patch
index 7860fbc..54127a1 100644
--- a/Try-Tiny-0.20-old-Test::More.patch
+++ b/Try-Tiny-0.22-old-Test::More.patch
@@ -2,15 +2,18 @@
 +++ xt/release/no-tabs.t
 @@ -3,7 +3,7 @@ use warnings;
  
- # this test was generated with Dist::Zilla::Plugin::NoTabsTests 0.06
+ # this test was generated with Dist::Zilla::Plugin::NoTabsTests 0.07
  
 -use Test::More 0.88;
-+use Test::More tests => 1;
++use Test::More;
  use Test::NoTabs;
  
  my @files = (
-@@ -11,4 +11,3 @@ my @files = (
+@@ -21,5 +21,6 @@ my @files = (
+     't/when.t'
  );
  
++plan tests => scalar @files;
++
  notabs_ok($_) foreach @files;
 -done_testing;
diff --git a/perl-Try-Tiny.spec b/perl-Try-Tiny.spec
index 7c4c7e1..4c590f5 100644
--- a/perl-Try-Tiny.spec
+++ b/perl-Try-Tiny.spec
@@ -3,13 +3,13 @@
 
 Name:		perl-Try-Tiny
 Summary:	Minimal try/catch with proper localization of $@
-Version:	0.21
+Version:	0.22
 Release:	1%{?dist}
 License:	MIT
 Group:		Development/Libraries
 URL:		http://search.cpan.org/dist/Try-Tiny
 Source0:	http://search.cpan.org/CPAN/authors/id/D/DO/DOY/Try-Tiny-%{version}.tar.gz
-Patch1:		Try-Tiny-0.20-old-Test::More.patch
+Patch1:		Try-Tiny-0.22-old-Test::More.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
 BuildArch:	noarch
 # Module Build
@@ -79,6 +79,12 @@ rm -rf %{buildroot}
 %{_mandir}/man3/Try::Tiny.3pm*
 
 %changelog
+* Tue Apr 29 2014 Paul Howarth <paul at city-fan.org> - 0.22-1
+- Update to 0.22
+  - Add optional test deps as recommended prereqs
+    (https://github.com/doy/try-tiny/pull/18)
+- Update patch for building with Test::More < 0.88
+
 * Tue Apr 15 2014 Paul Howarth <paul at city-fan.org> - 0.21-1
 - Update to 0.21
   - Also skip the test if Capture::Tiny is too old
diff --git a/sources b/sources
index a4e102d..1c3b317 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-98049893c9ce161ba4d1393e00dc8bea  Try-Tiny-0.21.tar.gz
+6769658bfbca241a470206c9a8819ff2  Try-Tiny-0.22.tar.gz



More information about the perl-devel mailing list