From 6c6bd5984a0ae08b6429ea1d7031c71dbfd77750 Mon Sep 17 00:00:00 2001 From: Petr Písař Date: Jul 13 2021 11:57:55 +0000 Subject: 0.52 bump --- diff --git a/.gitignore b/.gitignore index 1c38fc3..1afc125 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /Future-AsyncAwait-0.49.tar.gz /Future-AsyncAwait-0.50.tar.gz /Future-AsyncAwait-0.51.tar.gz +/Future-AsyncAwait-0.52.tar.gz diff --git a/Future-AsyncAwait-0.51-rt137589.patch b/Future-AsyncAwait-0.51-rt137589.patch deleted file mode 100644 index f62edaa..0000000 --- a/Future-AsyncAwait-0.51-rt137589.patch +++ /dev/null @@ -1,43 +0,0 @@ -Date: Tue, 13 Jul 2021 06:22:57 -0400 -From: Paul Evans via RT -To: ppisar@redhat.com -Subject: [rt.cpan.org #137589] XS-Parse-Keyword-Builder-0.09 breaks t/32compile-errors.t: Failed test 'Failure message complains about undeclared $api' - - - -Patched. Will be in next version - -=== modified file 't/32compile-errors.t' ---- old/t/32compile-errors.t 2020-07-06 21:44:29 +0000 -+++ new/t/32compile-errors.t 2021-07-13 09:43:42 +0000 -@@ -7,6 +7,8 @@ - - use Future::AsyncAwait; - -+use constant HAVE_XPK_0_09 => ( $XS::Parse::Keyword::VERSION >= 0.09 ); -+ - # All of these should fail to compile but not SEGV. If we get to the end of - # the script without segfaulting, we've passed. - -@@ -69,6 +71,10 @@ - { - local $@; - -+ my $err = HAVE_XPK_0_09 ? -+ qr/^parse failed--compilation aborted / : -+ qr/^Global symbol "\$api" requires explicit package name/; -+ - ok( !defined eval q' - package segfault; - use strict; -@@ -82,8 +88,7 @@ - })->()->get; - ', - 'RT131487 strict-failing code fails to compile' ); -- like( "$@", qr/^Global symbol "\$api" requires explicit package name/, -- 'Failure message complains about undeclared $api' ); -+ like( "$@", $err, 'Failure message complains about undeclared $api' ); - } - - done_testing; - diff --git a/perl-Future-AsyncAwait.spec b/perl-Future-AsyncAwait.spec index 72497ba..a4c6760 100644 --- a/perl-Future-AsyncAwait.spec +++ b/perl-Future-AsyncAwait.spec @@ -13,15 +13,12 @@ %endif Name: perl-Future-AsyncAwait -Version: 0.51 -Release: 4%{?dist} +Version: 0.52 +Release: 1%{?dist} Summary: Deferred subroutine syntax for futures License: GPL+ or Artistic URL: https://metacpan.org/release/Future-AsyncAwait Source0: https://cpan.metacpan.org/authors/id/P/PE/PEVANS/Future-AsyncAwait-%{version}.tar.gz -# Adapt a test to changes in XS-Parse-Keyword-Builder-0.09, bug #1981565, -# CPAN RT#137589, in upstream after 0.51. -Patch0: Future-AsyncAwait-0.51-rt137589.patch BuildRequires: coreutils BuildRequires: findutils BuildRequires: perl-devel @@ -217,6 +214,9 @@ export HARNESS_OPTIONS=j$(perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print %{_libexecdir}/%{name} %changelog +* Tue Jul 13 2021 Petr Pisar - 0.52-1 +- 0.52 bump + * Tue Jul 13 2021 Petr Pisar - 0.51-4 - Adapt a test to changes in XS-Parse-Keyword-Builder-0.09 (bug #1981565) diff --git a/sources b/sources index a657697..7613473 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Future-AsyncAwait-0.51.tar.gz) = 201aea1924bdfc67183a9af3662d41e9a0a2524bbe5aa83ff8b3c4a0a71b7db46b529465c69ec33be382968c0506a2ef74f830a3e8ab5e5c37a01bda5b3f052a +SHA512 (Future-AsyncAwait-0.52.tar.gz) = c68f9d4ec36b6368494d4ba71b6bdda492756ef35d7cc69d5c786f3a6f1fd1461c20b25c15b173ebd5fc8ae255721f6901f8a136552e142188b2a5813ed9b3cf