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] epel10: Restore deploy feature
Date: Fri, 06 Nov 2026 05:40:15 GMT [thread overview]
Message-ID: <179394361583.1.4496269250032751918.rpms-hugo-4b71ced60d65@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/hugo
Branch : epel10
Commit : 4b71ced60d656fc5bb9794ea97586dd8131df3e7
Author : W. Michael Petullo <mike@flyn.org>
Date : 2024-07-10T16:35:50-05:00
Stats : +9/-14 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/hugo/c/4b71ced60d656fc5bb9794ea97586dd8131df3e7?branch=epel10
Log:
Restore deploy feature
I had deactivated the deploy feature due to its dependency on
golang-google-genproto, which was out-of-date in Fedora. BZ #2262897
provides a record of the update that fixed this.
Signed-off-by: W. Michael Petullo <mike@flyn.org>
---
diff --git a/hugo.spec b/hugo.spec
index 1fc4a07..29823bd 100644
--- a/hugo.spec
+++ b/hugo.spec
@@ -86,22 +86,11 @@ sed -i '/TestPageWithLastmodFromGitInfo/a t.Skip()' hugolib/page_test.go
rm hugolib/hugo_modules_test.go
%endif
-# Remove deployment features, as they rely on too many wild dependencies.
-# I cannot at this time find a path forward for golang-gocloud. See, for
-# example,
-#
-# https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/YOVE3SJYZK7SC3CAHZ5CGUWMMWC67AFO/
-# https://bugzilla.redhat.com/show_bug.cgi?id=2262897
-# ... and so on.
-#
-# See also use of nodeploy in build and check sections below.
-rm -rf deploy/*.go
-
%generate_buildrequires
%go_generate_buildrequires
%build
-BUILDTAGS="extended nodeploy" LDFLAGS="${LDFLAGS} -X %{goipath}/common/hugo.buildDate=$(date --iso=seconds --date=@$SOURCE_DATE_EPOCH) -X %{goipath}/common/hugo.vendorInfo=Fedora:%{version}-%{release}" %gobuild -o %{gobuilddir}/bin/hugo %{goipath}
+BUILDTAGS="extended" LDFLAGS="${LDFLAGS} -X %{goipath}/common/hugo.buildDate=$(date --iso=seconds --date=@$SOURCE_DATE_EPOCH) -X %{goipath}/common/hugo.vendorInfo=Fedora:%{version}-%{release}" %gobuild -o %{gobuilddir}/bin/hugo %{goipath}
%{gobuilddir}/bin/hugo completion bash >hugo-completion
%{gobuilddir}/bin/hugo gen man
@@ -116,19 +105,25 @@ install -Dp man/* -t %{buildroot}%{_mandir}/man1
%if %{with check}
%check
-%global gotestflags -tags nodeploy
-
# .: Extensive test that uses network.
# hugolib: panic: runtime error: invalid memory address or nil pointer dereference
# hugolib/pagesfromdata: panic: runtime error: invalid memory address or nil pointer dereference
# langs/i18n: fails with current Rawhide
+# markup/goldmark: fails with current Rawhide.
# resources/resource_factories/create: fails with current Rawhide.
+# tpl/internal/go_templates/htmltemplate: fails with current Rawhide.
+# tpl/internal/go_templates/texttemplate: fails with current Rawhide.
+# tpl/internal/go_templates/texttemplate/parse: fails with current Rawhide.
%gocheck \
-d . \
-d hugolib \
-d hugolib/pagesfromdata \
-d langs/i18n \
+ -d markup/goldmark \
-d resources/resource_factories/create \
+ -d tpl/internal/go_templates/htmltemplate \
+ -d tpl/internal/go_templates/texttemplate \
+ -d tpl/internal/go_templates/texttemplate/parse \
%endif
reply other threads:[~2026-11-06 5:40 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=179394361583.1.4496269250032751918.rpms-hugo-4b71ced60d65@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