public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/hugo] epel10: Add more build metadata to executable
@ 2026-11-06  5:40 Elliott Sales de Andrade
  0 siblings, 0 replies; only message in thread
From: Elliott Sales de Andrade @ 2026-11-06  5:40 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/hugo
Branch : epel10
Commit : 48108bbbb70f0a9a86564b567251be0ddb23641a
Author : Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date   : 2023-01-01T21:45:30-05:00
Stats  : +1/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/hugo/c/48108bbbb70f0a9a86564b567251be0ddb23641a?branch=epel10

Log:
Add more build metadata to executable

---
diff --git a/hugo.spec b/hugo.spec
index 4b79e38..a1f7295 100644
--- a/hugo.spec
+++ b/hugo.spec
@@ -82,7 +82,7 @@ rm hugolib/hugo_modules_test.go
 %go_generate_buildrequires
 
 %build
-BUILDTAGS=extended %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 gen autocomplete >hugo-completion
 %{gobuilddir}/bin/hugo gen man
 

^ 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: Add more build metadata to executable Elliott Sales de Andrade

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