From ccb389fc28223dc78b69bd8d01c9f320d0368bf4 Mon Sep 17 00:00:00 2001 From: Alfredo Moralejo Date: Fri, 15 Mar 2019 16:17:52 +0100 Subject: [PATCH] Replace macro ldconfig_scriptlets It's not present in CentOS 7 so we need to replace it by its contents ro rebuild it in RDO. --- qpid-proton.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/qpid-proton.spec b/qpid-proton.spec index 88291c1..6cd6704 100644 --- a/qpid-proton.spec +++ b/qpid-proton.spec @@ -80,7 +80,9 @@ Obsoletes: perl-qpid-proton %{_libdir}/libqpid-proton-core.so.* %{_libdir}/libqpid-proton-proactor.so.* -%ldconfig_scriptlets c +%post c -p /sbin/ldconfig + +%postun c -p /sbin/ldconfig %package cpp @@ -98,7 +100,9 @@ Requires: jsoncpp %doc %{proton_datadir}/README* %{_libdir}/libqpid-proton-cpp.so.* -%ldconfig_scriptlets cpp +%post cpp -p /sbin/ldconfig + +%postun cpp -p /sbin/ldconfig %package c-devel