public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-YAML-LibYAML] rawhide: Fix test failures on ppc64le
@ 2026-07-02 21:19 Paul Howarth
0 siblings, 0 replies; only message in thread
From: Paul Howarth @ 2026-07-02 21:19 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/perl-YAML-LibYAML
Branch : rawhide
Commit : 1e94d7694c7b344d22186e68f7989c213981abc2
Author : Paul Howarth <paul@city-fan.org>
Date : 2026-07-02T22:18:46+01:00
Stats : +15/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/perl-YAML-LibYAML/c/1e94d7694c7b344d22186e68f7989c213981abc2?branch=rawhide
Log:
Fix test failures on ppc64le
https://github.com/ingydotnet/yaml-libyaml-pm/issues/133
---
diff --git a/YAML-LibYAML-v0.909.0-GH133.patch b/YAML-LibYAML-v0.909.0-GH133.patch
new file mode 100644
index 0000000..0357417
--- /dev/null
+++ b/YAML-LibYAML-v0.909.0-GH133.patch
@@ -0,0 +1,10 @@
+--- YAML-LibYAML-v0.909.0/LibYAML/LibYAML.xs
++++ YAML-LibYAML-v0.909.0/LibYAML/LibYAML.xs
+@@ -65,6 +65,7 @@ new(char *class_name, ...)
+ yaml->anchor_prefix = "";
+ yaml->cyclic_refs = 0;
+ yaml->utf8 = 0;
++ yaml->boolean = 0;
+ hash = newHV();
+
+ if (items > 1) {
diff --git a/perl-YAML-LibYAML.spec b/perl-YAML-LibYAML.spec
index 632dfee..841d78c 100644
--- a/perl-YAML-LibYAML.spec
+++ b/perl-YAML-LibYAML.spec
@@ -14,6 +14,7 @@ License: GPL-1.0-or-later OR Artistic-1.0-Perl
URL: https://metacpan.org/release/YAML-LibYAML
Source0: https://cpan.metacpan.org/authors/id/T/TI/TINITA/YAML-LibYAML-v%{version}.tar.gz
Patch0: YAML-LibYAML-0.79-Unbundled-libyaml.patch
+Patch1: YAML-LibYAML-v0.909.0-GH133.patch
# Build
BuildRequires: coreutils
@@ -112,6 +113,10 @@ for F in `find t -name *.t`; do
chmod +x "$F"
done
+# Fix test failures on ppc64le
+# https://github.com/ingydotnet/yaml-libyaml-pm/issues/133
+%patch -P 1 -p1
+
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1 NO_PERLLOCAL=1
%{make_build}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-02 21:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-02 21:19 [rpms/perl-YAML-LibYAML] rawhide: Fix test failures on ppc64le Paul Howarth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox