public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/fedora-release] f45: Add debuginfod_url to dist macros
@ 2026-08-10  9:35 Amit Shah
  0 siblings, 0 replies; only message in thread
From: Amit Shah @ 2026-08-10  9:35 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/fedora-release
            Branch : f45
            Commit : 3fed407628726f97a94d6051d908914ec92c9385
            Author : Amit Shah <amit@kernel.org>
            Date   : 2022-07-29T12:58:25+02:00
            Stats  : +4/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/fedora-release/c/3fed407628726f97a94d6051d908914ec92c9385?branch=f45

            Log:
            Add debuginfod_url to dist macros

elfutils has a per-distribution URL pointing to a debuginfod
server.  Add this field to dist macros.  It's not exposed via
/etc/os-release as it doesn't belong there.

---
diff --git a/fedora-release.spec b/fedora-release.spec
index b786e84..decf7d0 100644
--- a/fedora-release.spec
+++ b/fedora-release.spec
@@ -907,6 +907,9 @@ ln -s fedora-release %{buildroot}%{_sysconfdir}/system-release
 # Bugzilla / bug reporting URLs shown to users.
 # Examples: gcc.spec
 %global dist_bug_report_url https://bugzilla.redhat.com/
+
+# debuginfod server, as used in elfutils.spec.
+%global dist_debuginfod_url https://debuginfod.fedoraproject.org/
 # -------------------------------------------------------------------------
 
 cat << EOF >> os-release
@@ -1209,6 +1212,7 @@ cat >> %{buildroot}%{_rpmconfigdir}/macros.d/macros.dist << EOF
 %%dist_name           %{dist_name}
 %%dist_home_url       %{dist_home_url}
 %%dist_bug_report_url %{dist_bug_report_url}
+%%dist_debuginfod_url %{dist_debuginfod_url}
 EOF
 
 # Install licenses

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

only message in thread, other threads:[~2026-08-10  9:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-10  9:35 [rpms/fedora-release] f45: Add debuginfod_url to dist macros Amit Shah

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