From 80a194d926d2a8387671e6e39fed51f1ae77bda3 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 22 Jan 2019 18:38:49 +0100 Subject: [PATCH] Remove obsolete ldconfig scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- device-mapper-multipath.spec | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/device-mapper-multipath.spec b/device-mapper-multipath.spec index 7044156..1f2eb70 100644 --- a/device-mapper-multipath.spec +++ b/device-mapper-multipath.spec @@ -184,9 +184,7 @@ fi %dir %{_libmpathdir} %{_libmpathdir}/* -%post libs -p /sbin/ldconfig - -%postun libs -p /sbin/ldconfig +%ldconfig_scriptlets libs %files devel %doc README @@ -212,9 +210,7 @@ fi %doc README %{_libdir}/libdmmp.so.* -%post -n libdmmp -p /sbin/ldconfig - -%postun -n libdmmp -p /sbin/ldconfig +%ldconfig_scriptlets -n libdmmp %files -n libdmmp-devel %doc README