From 7e3b716c6f5f9a5bf421c69b20d5d01efbcf339d Mon Sep 17 00:00:00 2001 From: jinzhimin369 Date: Sat, 19 Sep 2020 19:33:32 +0800 Subject: [PATCH] fix unistall failure --- lm_sensors.spec | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/lm_sensors.spec b/lm_sensors.spec index b38524b..06a0f35 100644 --- a/lm_sensors.spec +++ b/lm_sensors.spec @@ -2,7 +2,7 @@ Name: lm_sensors Version: 3.6.0 -Release: 2 +Release: 3 Summary: Linux-monitoring sensors # lib/libsensors.3 is licensed Verbatim # dist-git files are licensed MIT @@ -120,12 +120,12 @@ fi %systemd_postun_with_restart lm_sensors.service # ==== sensord === -#%post sensord -#%systemd_post sensord.service -#%preun sensord -#%systemd_preun sensord.service -#%postun sensord -#%systemd_postun_with_restart sensord.service +%post sensord +%systemd_post sensord.service +%preun sensord +%systemd_preun sensord.service +%postun sensord +%systemd_postun_with_restart sensord.service # ===== libs ===== %ldconfig_scriptlets @@ -162,6 +162,9 @@ fi %exclude %{_mandir}/man8/sensord.8.gz %changelog +* Sat Sep 19 2020 xinghe - 3.6.0-3 +- fix uninstall failure + * Fri Sep 04 2020 xinghe - 3.6.0-2 - fix source0 download -- Gitee