public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/hugo] epel8: Add diagnostic instructions to hugo.spec
@ 2026-11-06  5:43 W. Michael Petullo
  0 siblings, 0 replies; only message in thread
From: W. Michael Petullo @ 2026-11-06  5:43 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/hugo
            Branch : epel8
            Commit : 00486392dfcfaca06fd4d1a621208ca274ad1862
            Author : W. Michael Petullo <mike@flyn.org>
            Date   : 2023-01-11T13:00:09-06:00
            Stats  : +15/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/hugo/c/00486392dfcfaca06fd4d1a621208ca274ad1862?branch=epel8

            Log:
            Add diagnostic instructions to hugo.spec

Signed-off-by: W. Michael Petullo <mike@flyn.org>

---
diff --git a/hugo.spec b/hugo.spec
index a1f7295..2b27c9a 100644
--- a/hugo.spec
+++ b/hugo.spec
@@ -2,6 +2,21 @@
 # Some tests use a package that uses this.
 %bcond_with bootstrap
 
+# The output from a standard Hugo package build can be overwhelming when
+# trying to diagnose package build errors. A less verbose follow up
+# is:
+#
+# 1. Run "rpmbuild -ba hugo.spec >/tmp/LOG 2>&1" to capture all of
+# the output.
+#
+# 2. Look for the command "go build ..." in that output.
+#
+# 3. Enter the BUILD/hugo-VERSION directory.
+#
+# 4. Export the two variables set before "go build ...".
+#
+# 5. Run the "go build ..." command, but without the "-v" and "-x".
+
 # https://github.com/gohugoio/hugo
 %global goipath github.com/gohugoio/hugo
 Version:        0.101.0

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

only message in thread, other threads:[~2026-11-06  5:43 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:43 [rpms/hugo] epel8: Add diagnostic instructions to hugo.spec 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