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
%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
Version: 0.08
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Dynamically change the value of a variable
License: GPL+ or Artistic
URL: https://metacpan.org/release/Syntax-Keyword-Dynamically
@ -67,10 +70,10 @@ Requires: perl-Test-Harness
Requires: perl(Test::More) >= 0.88
%if %{with perl_Syntax_Keyword_Dynamically_enables_optional_test} && !%{defined perl_bootstrap}
# A cycle: perl-Future-AsyncAwait → perl-Syntax-Keyword-Dynamically
Requires: perl(Future)
Requires: perl(Future::AsyncAwait) >= 0.31
Requires: perl(Object::Pad) >= 0.15
Requires: perl(Sentinel)
Requires: perl(Future)
Requires: perl(Future::AsyncAwait) >= 0.31
Requires: perl(Object::Pad) >= 0.15
Requires: perl(Sentinel)
%endif
%description tests
@ -94,9 +97,9 @@ perl Build.PL --installdirs=vendor --optimize="$RPM_OPT_FLAGS"
./Build
%install
./Build install --destdir=$RPM_BUILD_ROOT --create_packlist=0
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete
%{_fixperms} $RPM_BUILD_ROOT/*
./Build install --destdir=%{buildroot} --create_packlist=0
find %{buildroot} -type f -name '*.bs' -size 0 -delete
%{_fixperms} %{buildroot}/*
# Install tests
mkdir -p %{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}
%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
- Perl 5.34 re-rebuild of bootstrapped packages