From 23ae1de63a09fd2cd9d9de41db6a4c5c7ea6732e Mon Sep 17 00:00:00 2001 From: Chunmei Xu Date: Mon, 17 Oct 2022 16:03:48 +0800 Subject: [PATCH] include %{abidir} to avoid uninstall residual Signed-off-by: Chunmei Xu --- smartmontools.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/smartmontools.spec b/smartmontools.spec index 5ace901..e1afb19 100644 --- a/smartmontools.spec +++ b/smartmontools.spec @@ -83,6 +83,7 @@ mkdir -p $RPM_BUILD_ROOT%{_sharedstatedir}/%{name} %doc examplescripts smartd.conf %dir %{_sysconfdir}/%name %dir %{_sysconfdir}/%name/smartd_warning.d +%dir %{abidir} %config(noreplace) %{_sysconfdir}/%{name}/smartd.conf %config(noreplace) %{_sysconfdir}/%{name}/smartd_warning.sh %config(noreplace) %{_sysconfdir}/sysconfig/smartmontools -- Gitee