From 78dc40ef884f193c6550e4337211d4ca11d17946 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Wed, 12 Jun 2024 18:05:07 +0200 Subject: [PATCH] replace wheel group with sysadmin in polkit policy file [release 1.0.0-2mamba;Wed Jun 12 2024] --- cpupower-gui.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cpupower-gui.spec b/cpupower-gui.spec index 3073770..711a07c 100644 --- a/cpupower-gui.spec +++ b/cpupower-gui.spec @@ -1,6 +1,6 @@ Name: cpupower-gui Version: 1.0.0 -Release: 1mamba +Release: 2mamba Summary: A graphical program that is used to change the scaling frequency limits of the cpu Group: Graphical Desktop/Applications/Utilities Vendor: openmamba @@ -40,6 +40,8 @@ cpupower-gui is a graphical program that is used to change the scaling frequency %find_lang %{name} || touch %{name}.lang +sed -i "s|wheel|sysadmin|" %{buildroot}%{_datadir}/polkit-1/actions/org.rnd2.cpupower-gui.policy + %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -85,5 +87,8 @@ cpupower-gui is a graphical program that is used to change the scaling frequency %doc AUTHORS COPYING %changelog +* Wed Jun 12 2024 Silvan Calarco 1.0.0-2mamba +- replace wheel group with sysadmin in polkit policy file + * Wed May 29 2024 Silvan Calarco 1.0.0-1mamba - package created using the webbuild interface