0.52 bump

This commit is contained in:
Petr Písař 2021-07-13 13:57:55 +02:00
parent ec84c0f78b
commit 6c6bd5984a
4 changed files with 7 additions and 49 deletions

1
.gitignore vendored
View File

@ -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

View File

@ -1,43 +0,0 @@
Date: Tue, 13 Jul 2021 06:22:57 -0400
From: Paul Evans via RT <bug-Future-AsyncAwait@rt.cpan.org>
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'
<URL: https://rt.cpan.org/Ticket/Display.html?id=137589 >
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;

View File

@ -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 <ppisar@redhat.com> - 0.52-1
- 0.52 bump
* Tue Jul 13 2021 Petr Pisar <ppisar@redhat.com> - 0.51-4
- Adapt a test to changes in XS-Parse-Keyword-Builder-0.09 (bug #1981565)

View File

@ -1 +1 @@
SHA512 (Future-AsyncAwait-0.51.tar.gz) = 201aea1924bdfc67183a9af3662d41e9a0a2524bbe5aa83ff8b3c4a0a71b7db46b529465c69ec33be382968c0506a2ef74f830a3e8ab5e5c37a01bda5b3f052a
SHA512 (Future-AsyncAwait-0.52.tar.gz) = c68f9d4ec36b6368494d4ba71b6bdda492756ef35d7cc69d5c786f3a6f1fd1461c20b25c15b173ebd5fc8ae255721f6901f8a136552e142188b2a5813ed9b3cf