public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/fedora-release] f45: Configure location of distro SWID tags in swidtags.d.
@ 2026-08-10  9:34 Jan Pazdziora
  0 siblings, 0 replies; only message in thread
From: Jan Pazdziora @ 2026-08-10  9:34 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/fedora-release
            Branch : f45
            Commit : fe948e590b8b554fa3929b8feee0be6130f7e2b1
            Author : Jan Pazdziora <jpazdziora@redhat.com>
            Date   : 2018-10-16T15:29:36+02:00
            Stats  : +3/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/fedora-release/c/fe948e590b8b554fa3929b8feee0be6130f7e2b1?branch=f45

            Log:
            Configure location of distro SWID tags in swidtags.d.

Signed-off-by: Jan Pazdziora <jpazdziora@redhat.com>

---
diff --git a/fedora-release.spec b/fedora-release.spec
index d96c7b9..c7e5da8 100644
--- a/fedora-release.spec
+++ b/fedora-release.spec
@@ -382,6 +382,8 @@ install -Dm0644 %{SOURCE17} -t %{buildroot}%{_datadir}/polkit-1/rules.d/
 # Create distro-level SWID tag file
 install -d %{buildroot}%{_swidtagdir}
 sed -e "s#\$version#%{bug_version}#g" -e 's/<!--.*-->//;/^$/d' %{SOURCE19} > %{buildroot}%{_swidtagdir}/org.fedoraproject.Fedora-%{bug_version}.swidtag
+install -d %{buildroot}/etc/swid/swidtags.d
+ln -s %{_swidtagdir} %{buildroot}/etc/swid/swidtags.d/fedoraproject.org
 
 %post -p <lua>
 %include %{SOURCE4}
@@ -546,6 +548,7 @@ uninstall_edition("xfce")
 %{_prefix}/lib/systemd/system-preset/99-default-disable.preset
 %dir %{_swidtagdir}
 %{_swidtagdir}/org.fedoraproject.Fedora-%{bug_version}.swidtag
+/etc/swid/swidtags.d
 
 
 %files atomichost

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

only message in thread, other threads:[~2026-08-10  9:34 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:34 [rpms/fedora-release] f45: Configure location of distro SWID tags in swidtags.d Jan Pazdziora

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