From 112b748102db77643128f002dd8486682cbd9a82 Mon Sep 17 00:00:00 2001 From: eabdullin Date: Wed, 29 Mar 2023 10:43:49 +0300 Subject: [PATCH] - Disable subman plugin --- SPECS/gnome-settings-daemon.spec | 39 ++++++++++++++++++++++++++++++-- 1 file changed, 37 insertions(+), 2 deletions(-) diff --git a/SPECS/gnome-settings-daemon.spec b/SPECS/gnome-settings-daemon.spec index a559b4a..3c1b5f9 100644 --- a/SPECS/gnome-settings-daemon.spec +++ b/SPECS/gnome-settings-daemon.spec @@ -12,7 +12,7 @@ Name: gnome-settings-daemon Version: 3.32.0 -Release: 19%{?dist} +Release: 19%{?dist}.alma Summary: The daemon sharing settings from GNOME to GTK+/KDE applications License: GPLv2+ @@ -140,7 +140,37 @@ The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep -%autosetup -S git +%setup -q + +%patch00001 -p 1 +%patch00002 -p 1 +%patch00003 -p 1 +%patch00004 -p 1 +%patch10001 -p 1 +%patch20001 -p 1 +%patch30001 -p 1 +%patch40001 -p 1 +%patch50017 -p 1 +%patch60001 -p 1 + +%if %{with subman} +%patch50001 -p 1 +%patch50002 -p 1 +%patch50003 -p 1 +%patch50004 -p 1 +%patch50005 -p 1 +%patch50006 -p 1 +%patch50007 -p 1 +%patch50008 -p 1 +%patch50009 -p 1 +%patch50010 -p 1 +%patch50011 -p 1 +%patch50012 -p 1 +%patch50013 -p 1 +%patch50014 -p 1 +%patch50015 -p 1 +%patch50016 -p 1 +%endif %build %meson @@ -237,11 +267,13 @@ mkdir $RPM_BUILD_ROOT%{_libdir}/gnome-settings-daemon-3.0/gtk-modules %{_sysconfdir}/xdg/autostart/org.gnome.SettingsDaemon.Sharing.desktop %{_datadir}/glib-2.0/schemas/org.gnome.settings-daemon.plugins.sharing.gschema.xml +%if %{with subman} %{_sysconfdir}/xdg/autostart/org.gnome.SettingsDaemon.Subscription.desktop %{_libexecdir}/gsd-subman %{_libexecdir}/gsd-subman-helper %{_datadir}/polkit-1/actions/org.gnome.settings-daemon.plugins.subman.policy %{_datadir}/polkit-1/rules.d/org.gnome.settings-daemon.plugins.subman.rules +%endif %{_libdir}/gnome-settings-daemon-3.0/libgsd.so @@ -257,6 +289,9 @@ mkdir $RPM_BUILD_ROOT%{_libdir}/gnome-settings-daemon-3.0/gtk-modules %{_libdir}/pkgconfig/gnome-settings-daemon.pc %changelog +* Wed Mar 29 2023 Eduard Abdullin - 4.32.0-19.alma +- Disable subman plugin + * Fri Feb 17 2023 Felipe Borges - 4.32.0-19 - Make power-button-action default to poweroff on servers - Resolves: #1920829