From d87512c9077816d765fae67e6908566295111a0c Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 22 Jan 2019 18:39:20 +0100 Subject: [PATCH] Remove obsolete ldconfig scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- isns-utils.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/isns-utils.spec b/isns-utils.spec index 5699ad1..c5a5d18 100644 --- a/isns-utils.spec +++ b/isns-utils.spec @@ -81,9 +81,7 @@ install -p -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/isnsd.service /bin/systemctl try-restart isnsd.service >/dev/null 2>&1 || : -%post -n %{name}-libs -p /sbin/ldconfig - -%postun -n %{name}-libs -p /sbin/ldconfig +%ldconfig_scriptlets -n %{name}-libs %files