From 80dbc261f9c0c8524d6efd36a6caaa83e799daa1 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 14 Jun 2024 09:35:55 +0200 Subject: [PATCH] enable user unit cpupower-gui-user on installation [release 1.0.0-4mamba;Thu Jun 13 2024] --- cpupower-gui.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cpupower-gui.spec b/cpupower-gui.spec index eed9496..9c69c83 100644 --- a/cpupower-gui.spec +++ b/cpupower-gui.spec @@ -1,6 +1,6 @@ Name: cpupower-gui Version: 1.0.0 -Release: 3mamba +Release: 4mamba Summary: A graphical program that is used to change the scaling frequency limits of the cpu Group: Graphical Desktop/Applications/Utilities Vendor: openmamba @@ -48,11 +48,13 @@ sed -i "s|wheel|sysadmin|" %{buildroot}%{_datadir}/polkit-1/rules.d/org.rnd2.cpu %post %systemd_post cpupower-gui %systemd_post cpupower-gui-helper +%systemd_user_post cpupower-gui-user : %preun %systemd_preun cpupower-gui %systemd_preun cpupower-gui-helper +%systemd_user_preun cpupower-gui-user : %postun @@ -87,6 +89,9 @@ sed -i "s|wheel|sysadmin|" %{buildroot}%{_datadir}/polkit-1/rules.d/org.rnd2.cpu %doc AUTHORS COPYING %changelog +* Thu Jun 13 2024 Silvan Calarco 1.0.0-4mamba +- enable user unit cpupower-gui-user on installation + * Wed Jun 12 2024 Silvan Calarco 1.0.0-3mamba - fix polkit fix in previous commit