enable user unit cpupower-gui-user on installation [release 1.0.0-4mamba;Thu Jun 13 2024]

This commit is contained in:
Silvan Calarco 2024-06-14 09:35:55 +02:00
parent 03e0608dc2
commit 80dbc261f9

View File

@ -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 <silvan.calarco@mambasoft.it> 1.0.0-4mamba
- enable user unit cpupower-gui-user on installation
* Wed Jun 12 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.0-3mamba
- fix polkit fix in previous commit