public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/hugo] epel10: Add more build metadata to executable
Date: Fri, 06 Nov 2026 05:40:02 GMT [thread overview]
Message-ID: <179394360218.1.14038740129387420729.rpms-hugo-48108bbbb70f@fedoraproject.org> (raw)
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
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=179394360218.1.14038740129387420729.rpms-hugo-48108bbbb70f@fedoraproject.org \
--to=quantum.analyst@gmail.com \
--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