From d92fa1df32ccac578b94d774c25df248b549c4e7 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 22 Jan 2019 18:40:46 +0100 Subject: [PATCH] Remove obsolete ldconfig scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- qpid-proton.spec | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/qpid-proton.spec b/qpid-proton.spec index 137650b..3cd293b 100644 --- a/qpid-proton.spec +++ b/qpid-proton.spec @@ -82,9 +82,7 @@ Obsoletes: perl-qpid-proton %{_libdir}/libqpid-proton-core.so.* %{_libdir}/libqpid-proton-proactor.so.* -%post c -p /sbin/ldconfig - -%postun c -p /sbin/ldconfig +%ldconfig_scriptlets c %package cpp @@ -103,9 +101,7 @@ Requires: jsoncpp %doc %{proton_datadir}/README* %{_libdir}/libqpid-proton-cpp.so.* -%post cpp -p /sbin/ldconfig - -%postun cpp -p /sbin/ldconfig +%ldconfig_scriptlets cpp %package c-devel