From e2b1ab21a693be46a96472347b68ff702d449ef6 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 22 Jan 2019 18:39:38 +0100 Subject: [PATCH] Remove obsolete ldconfig scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- libdb.spec | 25 +++++-------------------- 1 file changed, 5 insertions(+), 20 deletions(-) diff --git a/libdb.spec b/libdb.spec index 07e6730..f387adb 100644 --- a/libdb.spec +++ b/libdb.spec @@ -355,28 +355,13 @@ rm -rf docs/installation mv examples docs mv man/* ${RPM_BUILD_ROOT}%{_mandir}/man1 -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig - -%post -p /sbin/ldconfig cxx - -%postun -p /sbin/ldconfig cxx - -%post -p /sbin/ldconfig sql - -%postun -p /sbin/ldconfig sql - -%post -p /sbin/ldconfig tcl - -%postun -p /sbin/ldconfig tcl - -%post -p /sbin/ldconfig java - -%postun -p /sbin/ldconfig java +%ldconfig_scriptlets +%ldconfig_scriptlets cxx +%ldconfig_scriptlets sql +%ldconfig_scriptlets tcl +%ldconfig_scriptlets java %files -%{!?_licensedir:%global license %%doc} %license LICENSE lgpl-2.1.txt %doc README %{_libdir}/libdb-%{__soversion}.so