!18 fix uninstall failure

From: @xinghe_1
Reviewed-by: @luocheng382548,@liqingqing_1229
Signed-off-by: @liqingqing_1229
This commit is contained in:
openeuler-ci-bot 2020-09-22 17:26:57 +08:00 committed by Gitee
commit c74f7f3f01

View File

@ -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 <xinghe1@huawei.com> - 3.6.0-5
- fix uninstall failure
* Fri Sep 04 2020 xinghe <xinghe1@huawei.com> - 3.6.0-4
- fix source0 download