fix polkit fix in previous commit [release 1.0.0-3mamba;Wed Jun 12 2024]

This commit is contained in:
Silvan Calarco 2024-06-13 10:31:32 +02:00
parent 78dc40ef88
commit 03e0608dc2

View File

@ -1,6 +1,6 @@
Name: cpupower-gui
Version: 1.0.0
Release: 2mamba
Release: 3mamba
Summary: A graphical program that is used to change the scaling frequency limits of the cpu
Group: Graphical Desktop/Applications/Utilities
Vendor: openmamba
@ -40,7 +40,7 @@ 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
sed -i "s|wheel|sysadmin|" %{buildroot}%{_datadir}/polkit-1/rules.d/org.rnd2.cpupower-gui.rules
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -87,6 +87,9 @@ sed -i "s|wheel|sysadmin|" %{buildroot}%{_datadir}/polkit-1/actions/org.rnd2.cpu
%doc AUTHORS COPYING
%changelog
* Wed Jun 12 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.0-3mamba
- fix polkit fix in previous commit
* Wed Jun 12 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.0-2mamba
- replace wheel group with sysadmin in polkit policy file