Break a build cycle: perl-YAML-LibYAML → perl-boolean → perl-JSON-MaybeXS → perl-Cpanel-JSON-XS → perl-YAML-LibYAML

Maybe a better break point is perl-boolean.spec. Though, I used
perl-YAML-LibYAML because it already has a switch for the optional
tests.
This commit is contained in:
Petr Písař 2024-02-02 10:11:10 +01:00
parent 5a83acf193
commit fba5dbf9bf

View File

@ -8,7 +8,7 @@
Name: perl-YAML-LibYAML Name: perl-YAML-LibYAML
Epoch: 1 Epoch: 1
Version: 0.89 Version: 0.89
Release: 1%{?dist} Release: 2%{?dist}
Summary: Perl YAML Serialization using XS and libyaml Summary: Perl YAML Serialization using XS and libyaml
License: GPL-1.0-or-later OR Artistic-1.0-Perl License: GPL-1.0-or-later OR Artistic-1.0-Perl
URL: https://metacpan.org/release/YAML-LibYAML URL: https://metacpan.org/release/YAML-LibYAML
@ -60,7 +60,9 @@ BuildRequires: perl(Tie::Array)
BuildRequires: perl(Tie::Hash) BuildRequires: perl(Tie::Hash)
BuildRequires: perl(utf8) BuildRequires: perl(utf8)
%if %{with perl_YAML_LibYAML_enables_optional_test} # A build cycle: perl-YAML-LibYAML → perl-boolean → perl-JSON-MaybeXS
# → perl-Cpanel-JSON-XS → perl-YAML-LibYAML
%if %{with perl_YAML_LibYAML_enables_optional_test} && !%{defined perl_bootstrap}
# Optional Tests # Optional Tests
BuildRequires: perl(boolean) BuildRequires: perl(boolean)
BuildRequires: perl(Path::Class) BuildRequires: perl(Path::Class)
@ -157,6 +159,10 @@ make test
%{_libexecdir}/%{name} %{_libexecdir}/%{name}
%changelog %changelog
* Fri Feb 02 2024 Petr Pisar <ppisar@redhat.com> - 1:0.89-2
- Break a build cycle: perl-YAML-LibYAML perl-boolean perl-JSON-MaybeXS
perl-Cpanel-JSON-XS perl-YAML-LibYAML
* Sat Jan 27 2024 Paul Howarth <paul@city-fan.org> - 1:0.89-1 * Sat Jan 27 2024 Paul Howarth <paul@city-fan.org> - 1:0.89-1
- Update to 0.89 (rhbz#2260595) - Update to 0.89 (rhbz#2260595)
- Recognise core booleans on Perl 5.36+ at dump time (GH#114) - Recognise core booleans on Perl 5.36+ at dump time (GH#114)