From aacd888ded56d49385fc76aef9a414ca73167ba0 Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Apr 29 2014 22:31:26 +0000 Subject: 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 --- diff --git a/Try-Tiny-0.20-old-Test::More.patch b/Try-Tiny-0.20-old-Test::More.patch deleted file mode 100644 index 7860fbc..0000000 --- a/Try-Tiny-0.20-old-Test::More.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- xt/release/no-tabs.t -+++ xt/release/no-tabs.t -@@ -3,7 +3,7 @@ use warnings; - - # this test was generated with Dist::Zilla::Plugin::NoTabsTests 0.06 - --use Test::More 0.88; -+use Test::More tests => 1; - use Test::NoTabs; - - my @files = ( -@@ -11,4 +11,3 @@ my @files = ( - ); - - notabs_ok($_) foreach @files; --done_testing; diff --git a/Try-Tiny-0.22-old-Test::More.patch b/Try-Tiny-0.22-old-Test::More.patch new file mode 100644 index 0000000..54127a1 --- /dev/null +++ b/Try-Tiny-0.22-old-Test::More.patch @@ -0,0 +1,19 @@ +--- xt/release/no-tabs.t ++++ xt/release/no-tabs.t +@@ -3,7 +3,7 @@ use warnings; + + # this test was generated with Dist::Zilla::Plugin::NoTabsTests 0.07 + +-use Test::More 0.88; ++use Test::More; + use Test::NoTabs; + + 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 - 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 - 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