diff --git a/powertop.spec b/powertop.spec index 7441b4d4f78443b719bd353f87cd8cffcbd52946..777857be67fb5b96a0b786f283db6436e7be92ba 100644 --- a/powertop.spec +++ b/powertop.spec @@ -1,6 +1,6 @@ Name: powertop Version: 2.9 -Release: 11 +Release: 12 Summary: Power consumption tool for Linux License: GPLv2 URL: http://01.org/powertop/ @@ -46,13 +46,13 @@ install -Dpm 644 %{SOURCE1} $RPM_BUILD_ROOT%{_unitdir}/powertop.service %pre %preun -%systemd_preun %{SOURCE1} +%systemd_preun powertop.service %postun -%systemd_postun_with_restart %{SOURCE1} +%systemd_postun_with_restart powertop.service %post -%systemd_post %{SOURCE1} +%systemd_post powertop.service 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 +* Sat Sep 19 2020 liquor - 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 - 2.9-11 - Type:bugfix - ID:NA