public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/fedora-release] f45: Add a definition of %dist_purl_namespace
@ 2026-08-10  9:36 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-08-10  9:36 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/fedora-release
            Branch : f45
            Commit : 5655fb31a6eb3af3ee8e588d7be327fcac80c634
            Author : Miro Hrončok <miro@hroncok.cz>
            Date   : 2025-07-22T21:00:38+02:00
            Stats  : +7/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/fedora-release/c/5655fb31a6eb3af3ee8e588d7be327fcac80c634?branch=f45

            Log:
            Add a definition of %dist_purl_namespace

See https://lists.fedoraproject.org/archives/list/packaging@lists.fedoraproject.org/thread/GTRCTAF3R3SSBVEJYFCATKNRT7RYVFQI/

---
diff --git a/fedora-release.spec b/fedora-release.spec
index 5eee7f5..8dd3b00 100644
--- a/fedora-release.spec
+++ b/fedora-release.spec
@@ -1534,6 +1534,12 @@ ln -s fedora-release %{buildroot}%{_sysconfdir}/system-release
 %global dist_vendor Fedora
 %global dist_name   Fedora Linux
 
+# The namespace for purl
+# https://github.com/package-url/purl-spec
+# for example as in: pkg:rpm/fedora/python-setuptools@69.2.0-10.fc41?arch=src"
+# Note that we use "fedora" even for Fedora ELN
+%global dist_purl_namespace fedora
+
 # URL of the homepage of the distribution
 # Example: gstreamer1-plugins-base.spec
 %global dist_home_url https://fedoraproject.org/
@@ -2026,6 +2032,7 @@ cat >> %{buildroot}%{_rpmconfigdir}/macros.d/macros.dist << EOF
 %%dist                %%{!?distprefix0:%%{?distprefix}}%%{expand:%%{lua:for i=0,9999 do print("%%{?distprefix" .. i .."}") end}}%%{distcore}%%{?with_bootstrap:%%{__bootstrap}}
 %%dist_vendor         %{dist_vendor}
 %%dist_name           %{dist_name}
+%%dist_purl_namespace %{dist_purl_namespace}
 %%dist_home_url       %{dist_home_url}
 %%dist_bug_report_url %{dist_bug_report_url}
 %%dist_debuginfod_url %{dist_debuginfod_url}

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

only message in thread, other threads:[~2026-08-10  9:36 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:36 [rpms/fedora-release] f45: Add a definition of %dist_purl_namespace 

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