public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/fedora-release] f45: Sway: add dnf protected packages list
@ 2026-08-10  9:36 Aleksei Bavshin
  0 siblings, 0 replies; only message in thread
From: Aleksei Bavshin @ 2026-08-10  9:36 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/fedora-release
Branch : f45
Commit : ddc2efca53c08ccd7de165d092512216049d3f89
Author : Aleksei Bavshin <alebastr@fedoraproject.org>
Date   : 2023-12-17T15:05:09+00:00
Stats  : +5/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/fedora-release/c/ddc2efca53c08ccd7de165d092512216049d3f89?branch=f45

Log:
Sway: add dnf protected packages list

---
diff --git a/fedora-release.spec b/fedora-release.spec
index ccc4c94..c8e2ea1 100644
--- a/fedora-release.spec
+++ b/fedora-release.spec
@@ -116,6 +116,7 @@ Source26:       80-kde.preset
 Source27:       81-desktop.preset
 Source28:       longer-default-shutdown-timeout.conf
 Source29:       org.gnome.settings-daemon.plugins.power.gschema.override
+Source30:       fedora-sway.conf
 
 BuildArch:      noarch
 
@@ -1508,6 +1509,8 @@ echo "VARIANT_ID=sway" >> %{buildroot}%{_prefix}/lib/os-release.sway
 sed -i -e "s|(%{release_name}%{?prerelease})|(Sway%{?prerelease})|g" %{buildroot}%{_prefix}/lib/os-release.sway
 sed -i -e 's|BUG_REPORT_URL=.*|BUG_REPORT_URL="https://gitlab.com/fedora/sigs/sway/SIG/-/issues"|' %{buildroot}/%{_prefix}/lib/os-release.sway
 sed -e "s#\$version#%{bug_version}#g" -e 's/$edition/Sway/;s/<!--.*-->//;/^$/d' %{SOURCE20} > %{buildroot}%{_swidtagdir}/org.fedoraproject.Fedora-edition.swidtag.sway
+# Add Fedora Sway dnf protected packages list
+install -Dm0644 %{SOURCE30} -t %{buildroot}%{_sysconfdir}/dnf/protected.d/
 %endif
 
 %if %{with sericea}
@@ -1814,6 +1817,7 @@ ln -s --relative %{buildroot}%{_swidtagdir} %{buildroot}%{_sysconfdir}/swid/swid
 %{_prefix}/lib/os-release.sway
 %attr(0644,root,root) %{_swidtagdir}/org.fedoraproject.Fedora-edition.swidtag.sway
 %{_prefix}/lib/systemd/system-preset/81-desktop.preset
+%{_sysconfdir}/dnf/protected.d/fedora-sway.conf
 %endif
 
 

diff --git a/fedora-sway.conf b/fedora-sway.conf
new file mode 100644
index 0000000..e1fa762
--- /dev/null
+++ b/fedora-sway.conf
@@ -0,0 +1 @@
+sway

^ 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: Sway: add dnf protected packages list Aleksei Bavshin

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