public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/fedora-release] f45: Add a definition of %dist_purl_namespace
Date: Mon, 10 Aug 2026 09:36:53 GMT	[thread overview]
Message-ID: <178635461376.1.8625785180780801791.rpms-fedora-release-5655fb31a6eb@fedoraproject.org> (raw)

            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}

                 reply	other threads:[~2026-08-10  9:36 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=178635461376.1.8625785180780801791.rpms-fedora-release-5655fb31a6eb@fedoraproject.org \
    --to=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