public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/hugo] epel10: Restore deploy feature
@ 2026-11-06  5:40 W. Michael Petullo
  0 siblings, 0 replies; only message in thread
From: W. Michael Petullo @ 2026-11-06  5:40 UTC (permalink / raw)
  To: git-commits

            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
 

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

only message in thread, other threads:[~2026-11-06  5:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-06  5:40 [rpms/hugo] epel10: Restore deploy feature W. Michael Petullo

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