From fc611afd1a60cb3caabaebc245193f5120c4d7e2 Mon Sep 17 00:00:00 2001 From: jinzhimin369 Date: Sat, 19 Sep 2020 19:30:52 +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 ba3e0de..60e64fb 100644 --- a/lm_sensors.spec +++ b/lm_sensors.spec @@ -2,7 +2,7 @@ Name: lm_sensors Version: 3.6.0 -Release: 4 +Release: 5 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-5 +- fix uninstall failure + * Fri Sep 04 2020 xinghe - 3.6.0-4 - fix source0 download -- Gitee