From fba5dbf9bf68edb8f5b2c1349c15313ea0bd0c03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Fri, 2 Feb 2024 10:11:10 +0100 Subject: [PATCH] =?UTF-8?q?Break=20a=20build=20cycle:=20perl-YAML-LibYAML?= =?UTF-8?q?=20=E2=86=92=20perl-boolean=20=E2=86=92=20perl-JSON-MaybeXS=20?= =?UTF-8?q?=E2=86=92=20perl-Cpanel-JSON-XS=20=E2=86=92=20perl-YAML-LibYAML?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- perl-YAML-LibYAML.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/perl-YAML-LibYAML.spec b/perl-YAML-LibYAML.spec index cef2a14..ef4c447 100644 --- a/perl-YAML-LibYAML.spec +++ b/perl-YAML-LibYAML.spec @@ -8,7 +8,7 @@ Name: perl-YAML-LibYAML Epoch: 1 Version: 0.89 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Perl YAML Serialization using XS and libyaml License: GPL-1.0-or-later OR Artistic-1.0-Perl URL: https://metacpan.org/release/YAML-LibYAML @@ -60,7 +60,9 @@ BuildRequires: perl(Tie::Array) BuildRequires: perl(Tie::Hash) 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 BuildRequires: perl(boolean) BuildRequires: perl(Path::Class) @@ -157,6 +159,10 @@ make test %{_libexecdir}/%{name} %changelog +* Fri Feb 02 2024 Petr Pisar - 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 - 1:0.89-1 - Update to 0.89 (rhbz#2260595) - Recognise core booleans on Perl 5.36+ at dump time (GH#114)