public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Aleksei Bavshin <alebastr@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/fedora-release] f45: Sway: add dnf protected packages list
Date: Mon, 10 Aug 2026 09:36:23 GMT	[thread overview]
Message-ID: <178635458356.1.15434718563920314834.rpms-fedora-release-ddc2efca53c0@fedoraproject.org> (raw)

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

                 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=178635458356.1.15434718563920314834.rpms-fedora-release-ddc2efca53c0@fedoraproject.org \
    --to=alebastr@fedoraproject.org \
    --cc=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