!2 openEuler-powertop
From: @liquor1 Reviewed-by: @overweight Signed-off-by: @overweight
This commit is contained in:
commit
cf25c5aeae
@ -1,6 +1,6 @@
|
|||||||
Name: powertop
|
Name: powertop
|
||||||
Version: 2.9
|
Version: 2.9
|
||||||
Release: 11
|
Release: 12
|
||||||
Summary: Power consumption tool for Linux
|
Summary: Power consumption tool for Linux
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
URL: http://01.org/powertop/
|
URL: http://01.org/powertop/
|
||||||
@ -46,13 +46,13 @@ install -Dpm 644 %{SOURCE1} $RPM_BUILD_ROOT%{_unitdir}/powertop.service
|
|||||||
%pre
|
%pre
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
%systemd_preun %{SOURCE1}
|
%systemd_preun powertop.service
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
%systemd_postun_with_restart %{SOURCE1}
|
%systemd_postun_with_restart powertop.service
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%systemd_post %{SOURCE1}
|
%systemd_post powertop.service
|
||||||
|
|
||||||
touch %{_localstatedir}/cache/powertop/{saved_parameters.powertop,saved_results.powertop} &> /dev/null || :
|
touch %{_localstatedir}/cache/powertop/{saved_parameters.powertop,saved_results.powertop} &> /dev/null || :
|
||||||
|
|
||||||
@ -70,6 +70,12 @@ touch %{_localstatedir}/cache/powertop/{saved_parameters.powertop,saved_results.
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Sep 19 2020 liquor <lirui130@huawei.com> - 2.9-12
|
||||||
|
- Type:bugfix
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:modify the service file path to load the service correctly
|
||||||
|
|
||||||
* Fri Sep 27 2019 chengquan<chengquan3@huawei.com> - 2.9-11
|
* Fri Sep 27 2019 chengquan<chengquan3@huawei.com> - 2.9-11
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user