Rebuild against XS-Parse-Keyword-0.04

This commit is contained in:
Petr Písař 2021-06-01 12:44:35 +02:00
parent 1dbea317e1
commit 572ca8b9ca
1 changed files with 14 additions and 8 deletions

View File

@ -3,9 +3,12 @@
# Perform optional tests # Perform optional tests
%bcond_without perl_Syntax_Keyword_Dynamically_enables_optional_test %bcond_without perl_Syntax_Keyword_Dynamically_enables_optional_test
# XS-Parse-Keyword-0.04 breaks ABI
%global perl_bootstrap 1
Name: perl-Syntax-Keyword-Dynamically Name: perl-Syntax-Keyword-Dynamically
Version: 0.08 Version: 0.08
Release: 3%{?dist} Release: 4%{?dist}
Summary: Dynamically change the value of a variable Summary: Dynamically change the value of a variable
License: GPL+ or Artistic License: GPL+ or Artistic
URL: https://metacpan.org/release/Syntax-Keyword-Dynamically URL: https://metacpan.org/release/Syntax-Keyword-Dynamically
@ -67,10 +70,10 @@ Requires: perl-Test-Harness
Requires: perl(Test::More) >= 0.88 Requires: perl(Test::More) >= 0.88
%if %{with perl_Syntax_Keyword_Dynamically_enables_optional_test} && !%{defined perl_bootstrap} %if %{with perl_Syntax_Keyword_Dynamically_enables_optional_test} && !%{defined perl_bootstrap}
# A cycle: perl-Future-AsyncAwait → perl-Syntax-Keyword-Dynamically # A cycle: perl-Future-AsyncAwait → perl-Syntax-Keyword-Dynamically
Requires: perl(Future) Requires: perl(Future)
Requires: perl(Future::AsyncAwait) >= 0.31 Requires: perl(Future::AsyncAwait) >= 0.31
Requires: perl(Object::Pad) >= 0.15 Requires: perl(Object::Pad) >= 0.15
Requires: perl(Sentinel) Requires: perl(Sentinel)
%endif %endif
%description tests %description tests
@ -94,9 +97,9 @@ perl Build.PL --installdirs=vendor --optimize="$RPM_OPT_FLAGS"
./Build ./Build
%install %install
./Build install --destdir=$RPM_BUILD_ROOT --create_packlist=0 ./Build install --destdir=%{buildroot} --create_packlist=0
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete find %{buildroot} -type f -name '*.bs' -size 0 -delete
%{_fixperms} $RPM_BUILD_ROOT/* %{_fixperms} %{buildroot}/*
# Install tests # Install tests
mkdir -p %{buildroot}%{_libexecdir}/%{name} mkdir -p %{buildroot}%{_libexecdir}/%{name}
cp -a t %{buildroot}%{_libexecdir}/%{name} cp -a t %{buildroot}%{_libexecdir}/%{name}
@ -124,6 +127,9 @@ export HARNESS_OPTIONS=j$(perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print
%{_libexecdir}/%{name} %{_libexecdir}/%{name}
%changelog %changelog
* Tue Jun 01 2021 Petr Pisar <ppisar@redhat.com> - 0.08-4
- Rebuild against XS-Parse-Keyword-0.04 (CPAN RT#136611)
* Mon May 24 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.08-3 * Mon May 24 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.08-3
- Perl 5.34 re-rebuild of bootstrapped packages - Perl 5.34 re-rebuild of bootstrapped packages