From 70c0e17dbd570152adb2c556b7149d75ed1bdcde Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Fri, 5 Jul 2013 10:29:24 +0100 Subject: [PATCH] Update to 0.13 - New upstream release 0.13 - Fix tests failing on 5.6.x due to differing DESTROY semantics - Excise superfluous local($@) call - 7% speedup - Fix broken URLs (CPAN RT#55659) - Proper exception on erroneous usage of bare catch/finally (CPAN RT#81070) - Proper exception on erroneous use of multiple catch{} blocks - Clarify exception occuring on unterminated try block (CPAN RT#75712) - Fix the prototypes shown in docs to match code (CPAN RT#79590) - Warn loudly on exceptions in finally() blocks - dzilify - Ship upstream LICENSE and README files - Classify buildreqs by usage - Add buildreqs for extra tests and explicitly run them --- perl-Try-Tiny.spec | 39 ++++++++++++++++++++++++++++++++++----- sources | 2 +- 2 files changed, 35 insertions(+), 6 deletions(-) diff --git a/perl-Try-Tiny.spec b/perl-Try-Tiny.spec index 76cecdc..acdf354 100644 --- a/perl-Try-Tiny.spec +++ b/perl-Try-Tiny.spec @@ -1,19 +1,32 @@ Name: perl-Try-Tiny Summary: Minimal try/catch with proper localization of $@ -Version: 0.12 -Release: 2%{?dist} +Version: 0.13 +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 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) BuildArch: noarch +# Module Build +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.17 +# Module +BuildRequires: perl(base) BuildRequires: perl(Carp) +BuildRequires: perl(constant) BuildRequires: perl(Exporter) -BuildRequires: perl(ExtUtils::MakeMaker) +# Test Suite +BuildRequires: perl(File::Find) +BuildRequires: perl(File::Temp) BuildRequires: perl(Test::More) +# Extra Tests +BuildRequires: perl(Pod::Coverage::TrustPod) +BuildRequires: perl(Test::EOL) +BuildRequires: perl(Test::NoTabs) +BuildRequires: perl(Test::Pod) >= 1.41 +BuildRequires: perl(Test::Pod::Coverage) >= 1.08 +# Runtime Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) -Requires: perl(Exporter) # obsolete/provide old tests subpackage # can be removed during F19 development cycle @@ -46,16 +59,32 @@ find %{buildroot} -type f -name .packlist -exec rm -f {} ';' %check make test +make test TEST_FILES="$(echo $(find xt/ -name '*.t'))" %clean rm -rf %{buildroot} %files -%doc Changes t/ +%doc Changes LICENSE README t/ %{perl_vendorlib}/Try/ %{_mandir}/man3/Try::Tiny.3pm* %changelog +* Fri Jul 5 2013 Paul Howarth - 0.13-1 +- Update to 0.13 + - Fix tests failing on 5.6.x due to differing DESTROY semantics + - Excise superfluous local($@) call - 7%% speedup + - Fix broken URLs (CPAN RT#55659) + - Proper exception on erroneous usage of bare catch/finally (CPAN RT#81070) + - Proper exception on erroneous use of multiple catch{} blocks + - Clarify exception occuring on unterminated try block (CPAN RT#75712) + - Fix the prototypes shown in docs to match code (CPAN RT#79590) + - Warn loudly on exceptions in finally() blocks + - dzilify +- Ship upstream LICENSE and README files +- Classify buildreqs by usage +- Add buildreqs for extra tests and explicitly run them + * Thu Feb 14 2013 Fedora Release Engineering - 0.12-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild diff --git a/sources b/sources index be2a852..abf1470 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -5b584cb5ace0a2f39d8949bacc800003 Try-Tiny-0.12.tar.gz +c42a33edad33293c0832dfe134fa82ba Try-Tiny-0.13.tar.gz