From 71a2b5db52fe7050bed4e51e73c34c9ad3ed38b7 Mon Sep 17 00:00:00 2001 From: zhouwenpei Date: Mon, 21 Mar 2022 18:02:39 +0800 Subject: [PATCH] in other distributions delete default enbaled lm_sensors service --- lm_sensors.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lm_sensors.spec b/lm_sensors.spec index 60e64fb..514889e 100644 --- a/lm_sensors.spec +++ b/lm_sensors.spec @@ -2,7 +2,7 @@ Name: lm_sensors Version: 3.6.0 -Release: 5 +Release: 6 Summary: Linux-monitoring sensors # lib/libsensors.3 is licensed Verbatim # dist-git files are licensed MIT @@ -103,6 +103,8 @@ install -pm 755 %{SOURCE4} $RPM_BUILD_ROOT%{_libexecdir}/%{name}/lm_sensors-modp # sensord service wrapper install -pm 755 %{SOURCE6} $RPM_BUILD_ROOT%{_libexecdir}/%{name}/sensord-service-wrapper +%if !0%{?openEuler} +%else # Note non standard systemd scriptlets, since reload / stop makes no sense # for lm_sensors %triggerun -- lm_sensors < 3.3.0-2 @@ -118,6 +120,7 @@ fi %systemd_preun lm_sensors.service %postun %systemd_postun_with_restart lm_sensors.service +%endif # ==== sensord === %post sensord @@ -162,6 +165,9 @@ fi %exclude %{_mandir}/man8/sensord.8.gz %changelog +* Mon Mar 21 2022 zhouwenpei - 3.6.0-6 +- in other distributions delete default enbaled lm_sensors service + * Sat Sep 19 2020 xinghe - 3.6.0-5 - fix uninstall failure -- Gitee