public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/fedora-release] f45: Add gnome-shell to dnf protected packages list for Workstation
@ 2026-08-10  9:35 Kalev Lember
  0 siblings, 0 replies; only message in thread
From: Kalev Lember @ 2026-08-10  9:35 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/fedora-release
            Branch : f45
            Commit : 6bbb1019507ab6d09456b492c2f6a10bcce7af0a
            Author : Kalev Lember <klember@redhat.com>
            Date   : 2020-08-25T09:35:41+02:00
            Stats  : +10/-1 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/fedora-release/c/6bbb1019507ab6d09456b492c2f6a10bcce7af0a?branch=f45

            Log:
            Add gnome-shell to dnf protected packages list for Workstation

https://pagure.io/fedora-workstation/issue/165#comment-671814

Signed-off-by: Kalev Lember <klember@redhat.com>

---
diff --git a/fedora-release.spec b/fedora-release.spec
index bb62240..d1ab958 100644
--- a/fedora-release.spec
+++ b/fedora-release.spec
@@ -15,7 +15,7 @@
 Summary:        Fedora release files
 Name:           fedora-release
 Version:        34
-Release:        0.3%{?eln:.eln%{eln}}
+Release:        0.4%{?eln:.eln%{eln}}
 License:        MIT
 URL:            https://fedoraproject.org/
 
@@ -33,6 +33,7 @@ Source17:       org.projectatomic.rpmostree1.rules
 Source18:       80-iot.preset
 Source19:       distro-template.swidtag
 Source20:       distro-edition-template.swidtag
+Source21:       gnome-shell.conf
 Source22:       80-coreos.preset
 Source23:       zezere-ignition-url
 Source24:       80-iot-user.preset
@@ -827,7 +828,10 @@ install -Dm0644 %{SOURCE15} -t %{buildroot}%{_prefix}/lib/systemd/system-preset/
 
 # Override the list of enabled gnome-shell extensions for Workstation
 install -Dm0644 %{SOURCE16} -t %{buildroot}%{_datadir}/glib-2.0/schemas/
+# Install rpm-ostree polkit rules
 install -Dm0644 %{SOURCE17} -t %{buildroot}%{_datadir}/polkit-1/rules.d/
+# Add gnome-shell to dnf protected packages list for Workstation
+install -Dm0644 %{SOURCE21} -t %{buildroot}%{_sysconfdir}/dnf/protected.d/
 
 # Create distro-level SWID tag file
 install -d %{buildroot}%{_swidtagdir}
@@ -953,6 +957,7 @@ ln -s %{_swidtagdir} %{buildroot}%{_sysconfdir}/swid/swidtags.d/fedoraproject.or
 %files identity-workstation
 %{_prefix}/lib/os-release.workstation
 %attr(0644,root,root) %{_swidtagdir}/org.fedoraproject.Fedora-edition.swidtag.workstation
+%{_sysconfdir}/dnf/protected.d/gnome-shell.conf
 # Keep this in sync with silverblue above
 %{_datadir}/glib-2.0/schemas/org.gnome.shell.gschema.override
 %{_prefix}/lib/systemd/system-preset/80-workstation.preset
@@ -966,6 +971,9 @@ ln -s %{_swidtagdir} %{buildroot}%{_sysconfdir}/swid/swidtags.d/fedoraproject.or
 
 
 %changelog
+* Tue Aug 25 2020 Kalev Lember <klember@redhat.com> - 34-0.4
+- Add gnome-shell to dnf protected packages list for Workstation
+
 * Mon Aug 17 2020 Troy Dawson <tdawson@redhat.com> - 34-0.3
 - Change release if building for eln
 

diff --git a/gnome-shell.conf b/gnome-shell.conf
new file mode 100644
index 0000000..c3d0e0c
--- /dev/null
+++ b/gnome-shell.conf
@@ -0,0 +1 @@
+gnome-shell

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

only message in thread, other threads:[~2026-08-10  9:35 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:35 [rpms/fedora-release] f45: Add gnome-shell to dnf protected packages list for Workstation Kalev Lember

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