From 419f03570f74f99c880293835210418f745b3a26 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Wed, 31 Jan 2018 17:16:44 +0100 Subject: [PATCH] Switch to %ldconfig_scriptlets Signed-off-by: Igor Gnatenko --- xmlrpc-c.spec | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/xmlrpc-c.spec b/xmlrpc-c.spec index 66ca9c5..6cfbd48 100644 --- a/xmlrpc-c.spec +++ b/xmlrpc-c.spec @@ -6,7 +6,7 @@ Name: xmlrpc-c Version: 1.51.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Lightweight RPC library based on XML and HTTP # See doc/COPYING for details. # The Python 1.5.2 license used by a few files is just BSD. @@ -129,17 +129,10 @@ This package contains some handy XML-RPC demo applications. %install %meson_install -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig - -%post client -p /sbin/ldconfig -%postun client -p /sbin/ldconfig - -%post c++ -p /sbin/ldconfig -%postun c++ -p /sbin/ldconfig - -%post client++ -p /sbin/ldconfig -%postun client++ -p /sbin/ldconfig +%ldconfig_scriptlets +%ldconfig_scriptlets client +%ldconfig_scriptlets c++ +%ldconfig_scriptlets client++ %files %license doc/COPYING lib/abyss/license.txt @@ -193,6 +186,9 @@ This package contains some handy XML-RPC demo applications. %{_bindir}/xmlrpc_dumpserver %changelog +* Wed Jan 31 2018 Igor Gnatenko - 1.51.0-3 +- Switch to %%ldconfig_scriptlets + * Wed Jan 17 2018 Igor Gnatenko - 1.51.0-2 - BuildRequire openssl by pkgconfig()