Fix perl_XS_Parse_Keyword_ABI macro

This became broken in 0.11.
This commit is contained in:
Petr Písař 2021-08-09 16:11:48 +02:00
parent 8afaf39e55
commit f2b4a0aac6
2 changed files with 5 additions and 2 deletions

View File

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

View File

@ -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 <ppisar@redhat.com> - 0.11-2
- Fix perl_XS_Parse_Keyword_ABI macro
* Tue Aug 03 2021 Petr Pisar <ppisar@redhat.com> - 0.11-1
- 0.11 bump