public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: W. Michael Petullo <mike@flyn.org>
To: git-commits@fedoraproject.org
Subject: [rpms/hugo] epel9: Backport s390x check exception
Date: Fri, 06 Nov 2026 05:42:00 GMT [thread overview]
Message-ID: <179394372095.1.6576221817288305798.rpms-hugo-7b987b86917a@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/hugo
Branch : epel9
Commit : 7b987b86917a49bd2fb3fc83a2ff7c3ebeff5626
Author : W. Michael Petullo <mike@flyn.org>
Date : 2025-01-23T08:20:57-06:00
Stats : +39/-2 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/hugo/c/7b987b86917a49bd2fb3fc83a2ff7c3ebeff5626?branch=epel9
Log:
Backport s390x check exception
Hugo commit 51bb2fed addressed https://github.com/gohugoio/hugo/issues/13204
and allowed me to restore the tpl/tplimpl check on all architectures.
Signed-off-by: W. Michael Petullo <mike@flyn.org>
---
diff --git a/0001-tpl-tplimpl-Skip-TestTemplateFuncsExamples-on-s390x.patch b/0001-tpl-tplimpl-Skip-TestTemplateFuncsExamples-on-s390x.patch
new file mode 100644
index 0000000..775af96
--- /dev/null
+++ b/0001-tpl-tplimpl-Skip-TestTemplateFuncsExamples-on-s390x.patch
@@ -0,0 +1,36 @@
+From 51bb2fedabca89fe4814102ed0bf985a03b6ec50 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?=
+ <bjorn.erik.pedersen@gmail.com>
+Date: Thu, 23 Jan 2025 10:18:43 +0100
+Subject: [PATCH] tpl/tplimpl: Skip TestTemplateFuncsExamples on s390x
+
+Closes #13204
+---
+ tpl/tplimpl/template_funcs_test.go | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/tpl/tplimpl/template_funcs_test.go b/tpl/tplimpl/template_funcs_test.go
+index f1ab3d659..2c3cc541a 100644
+--- a/tpl/tplimpl/template_funcs_test.go
++++ b/tpl/tplimpl/template_funcs_test.go
+@@ -15,6 +15,7 @@ package tplimpl_test
+
+ import (
+ "fmt"
++ "runtime"
+ "strings"
+ "testing"
+
+@@ -24,6 +25,9 @@ import (
+ )
+
+ func TestTemplateFuncsExamples(t *testing.T) {
++ if runtime.GOARCH == "s390x" {
++ t.Skip("Skip on s390x, see https://github.com/gohugoio/hugo/issues/13204")
++ }
+ t.Parallel()
+
+ files := `
+--
+2.48.1
+
diff --git a/hugo.spec b/hugo.spec
index 0acace8..288967c 100644
--- a/hugo.spec
+++ b/hugo.spec
@@ -45,6 +45,9 @@ Patch0001: 0010-skip-modules-TestClient.patch
# Fix build on Go 1.24.
# Submitted upstream as https://github.com/gohugoio/hugo/pull/13285
Patch0002: 0020-remove-non-const-fmt-string.patch
+# Backport s390x exception, allowing return of tpl-tplimpl check.
+# See also https://github.com/gohugoio/hugo/issues/13204
+Patch0003: 0001-tpl-tplimpl-Skip-TestTemplateFuncsExamples-on-s390x.patch
BuildRequires: golang(github.com/bep/golibsass/libsass) >= 0.7.0
BuildRequires: golang-github-gohugoio-hugo-goldmark-extensions-devel
@@ -117,7 +120,6 @@ install -Dp man/* -t %{buildroot}%{_mandir}/man1
# langs/i18n: fails with current Rawhide
# resources/resource_factories/bundler: uses networking
# resources/resource_factories/create: uses networking
-# tpl/tplimpl: https://github.com/gohugoio/hugo/issues/13204
%gocheck \
-d . \
-d cache/dynacache \
@@ -127,7 +129,6 @@ install -Dp man/* -t %{buildroot}%{_mandir}/man1
-d langs/i18n \
-d resources/resource_factories/bundler \
-d resources/resource_factories/create \
- -d tpl/tplimpl \
%endif
reply other threads:[~2026-11-06 5:42 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179394372095.1.6576221817288305798.rpms-hugo-7b987b86917a@fedoraproject.org \
--to=mike@flyn.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox