[perl-Try-Tiny] Update to 0.18
Paul Howarth
pghmcfc at fedoraproject.org
Sat Aug 17 21:13:19 UTC 2013
commit c2bcd7dd74ecefad48d655eb1f3c76ad8c4cb425
Author: Paul Howarth <paul at city-fan.org>
Date: Sat Aug 17 22:10:58 2013 +0100
Update to 0.18
- New upstream release 0.18
- Fix tests for pre-Test-More-0.88 (https://github.com/doy/try-tiny/pull/10)
- Drop upstreamed patch for building with Test::More < 0.88
Try-Tiny-0.17-old-Test::More.patch | 16 ----------------
perl-Try-Tiny.spec | 18 +++++++-----------
sources | 2 +-
3 files changed, 8 insertions(+), 28 deletions(-)
---
diff --git a/perl-Try-Tiny.spec b/perl-Try-Tiny.spec
index d5a1d07..90f8068 100644
--- a/perl-Try-Tiny.spec
+++ b/perl-Try-Tiny.spec
@@ -1,15 +1,11 @@
-# We need to patch the test suite if we have Test::More < 0.88
-%global old_test_more %(perl -MTest::More -e 'print (($Test::More::VERSION < 0.88) ? 1 : 0);' 2>/dev/null || echo 0)
-
Name: perl-Try-Tiny
Summary: Minimal try/catch with proper localization of $@
-Version: 0.17
+Version: 0.18
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.17-old-Test::More.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildArch: noarch
# Module Build
@@ -48,11 +44,6 @@ which may not be desirable either.
%prep
%setup -q -n Try-Tiny-%{version}
-# We need to patch the test suite if we have Test::More < 0.88
-%if %{old_test_more}
-%patch1
-%endif
-
%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
@@ -76,12 +67,17 @@ rm -rf %{buildroot}
%{_mandir}/man3/Try::Tiny.3pm*
%changelog
+* Sat Aug 17 2013 Paul Howarth <paul at city-fan.org> - 0.18-1
+- Update to 0.18
+ - Fix tests for pre-Test-More-0.88 (https://github.com/doy/try-tiny/pull/10)
+- Drop upstreamed patch for building with Test::More < 0.88
+
* Sat Aug 17 2013 Paul Howarth <paul at city-fan.org> - 0.17-1
- Update to 0.17
- Work around Perl RT#119311, which was causing incorrect error messages in
some cases during global destruction
(https://github.com/doy/try-tiny/pull/9)
- - Add patch to support building with Test::More < 0.88
+- Add patch to support building with Test::More < 0.88
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.16-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
diff --git a/sources b/sources
index 226ccdc..3e2b520 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-e9dc4bf8b02a1c7b5718d05c2f409b26 Try-Tiny-0.17.tar.gz
+86f4586f2f980bb46599ebe3e879303f Try-Tiny-0.18.tar.gz
More information about the scm-commits
mailing list