fix unistall failure

This commit is contained in:
jinzhimin369 2020-09-19 19:30:52 +08:00
parent aa9db9a722
commit fc611afd1a

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