public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/inn] epel10: work around test failure on ppc64le
@ 2026-08-26  8:07 Dominik 'Rathann' Mierzejewski
  0 siblings, 0 replies; only message in thread
From: Dominik 'Rathann' Mierzejewski @ 2026-08-26  8:07 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/inn
Branch : epel10
Commit : 3fb0e355a4aa1d945b4370362041a4b0842f8e24
Author : Dominik 'Rathann' Mierzejewski <dominik@greysector.net>
Date   : 2021-02-16T14:02:38+01:00
Stats  : +16/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/inn/c/3fb0e355a4aa1d945b4370362041a4b0842f8e24?branch=epel10

Log:
work around test failure on ppc64le

---
diff --git a/inn-2.6.4-ppc64le-inndf-test.patch b/inn-2.6.4-ppc64le-inndf-test.patch
new file mode 100644
index 0000000..ad0be23
--- /dev/null
+++ b/inn-2.6.4-ppc64le-inndf-test.patch
@@ -0,0 +1,12 @@
+diff -up inn-2.6.4/tests/util/inndf.t.orig inn-2.6.4/tests/util/inndf.t
+--- inn-2.6.4/tests/util/inndf.t.orig	2021-01-21 22:53:07.000000000 +0100
++++ inn-2.6.4/tests/util/inndf.t	2021-02-16 13:58:58.435897815 +0100
+@@ -129,7 +129,7 @@ else
+     printcount "not ok"
+ fi
+ out=`$inndf -o`
+-if [ "$out" = "3.17% overview space used" ] ; then
++if [ "$out" = "3.33% overview space used" ] ; then
+     printcount "ok"
+ else
+     echo "$out"

diff --git a/inn.spec b/inn.spec
index f843a12..6352ff4 100644
--- a/inn.spec
+++ b/inn.spec
@@ -22,6 +22,7 @@ Source24: innd-nntpsend.timer
 Source25: innd-rnews.service
 Source26: innd-rnews.timer
 Patch1: inn-2.6.4-rh.patch
+Patch2: inn-2.6.4-ppc64le-inndf-test.patch
 Patch4: inn-2.6.4-pie.patch
 BuildRequires: autoconf
 BuildRequires: byacc
@@ -114,6 +115,9 @@ This package contains dynamic libraries provided by INN project
 gpgv2 --keyring %{S:3} %{S:1} %{S:0}
 %setup -q -n inn-%{version}
 %patch1 -p1 -b .rh
+%ifarch ppc64le
+%patch2 -p1 -b .inndf
+%endif
 %patch4 -p1 -b .pie
 
 %build

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-26  8:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-26  8:07 [rpms/inn] epel10: work around test failure on ppc64le Dominik 'Rathann' Mierzejewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox