From f2b4a0aac64d4ea81798d08b01c321f453754419 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Mon, 9 Aug 2021 16:11:48 +0200 Subject: [PATCH] Fix perl_XS_Parse_Keyword_ABI macro This became broken in 0.11. --- macros.perl-XS-Parse-Keyword | 2 +- perl-XS-Parse-Keyword.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/macros.perl-XS-Parse-Keyword b/macros.perl-XS-Parse-Keyword index 8fd411e..13ffb56 100644 --- a/macros.perl-XS-Parse-Keyword +++ b/macros.perl-XS-Parse-Keyword @@ -1 +1 @@ -%perl_XS_Parse_Keyword_ABI perl(:XS_Parse_Keyword_ABI_%(perl -e 'require XS::Parse::Keyword::Builder; open my $f, q{<}, $INC{q{XS/Parse/Keyword/Builder.pm}}; while (<$f>) {print $1 if m{^#define XSPARSEKEYWORD_ABI_VERSION (\\d+)}}')) +%perl_XS_Parse_Keyword_ABI perl(:XS_Parse_Keyword_ABI_%(perl -e 'require XS::Parse::Keyword::Builder_data; print $1 if XS::Parse::Keyword::Builder_data::XSPARSEKEYWORD_H() =~ m{^#define XSPARSEKEYWORD_ABI_VERSION (\\d+)}m')) diff --git a/perl-XS-Parse-Keyword.spec b/perl-XS-Parse-Keyword.spec index d39b6a6..2bb3352 100644 --- a/perl-XS-Parse-Keyword.spec +++ b/perl-XS-Parse-Keyword.spec @@ -3,7 +3,7 @@ Name: perl-XS-Parse-Keyword Version: 0.11 -Release: 1%{?dist} +Release: 2%{?dist} Summary: XS functions to assist in parsing keyword syntax License: GPL+ or Artistic URL: https://metacpan.org/release/XS-Parse-Keyword @@ -128,6 +128,9 @@ export HARNESS_OPTIONS=j$(perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print %{_libexecdir}/%{name} %changelog +* Mon Aug 09 2021 Petr Pisar - 0.11-2 +- Fix perl_XS_Parse_Keyword_ABI macro + * Tue Aug 03 2021 Petr Pisar - 0.11-1 - 0.11 bump