From 9753644b28deee1e42ab752b1fff343ac2bb44c1 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 22 Jan 2019 18:41:20 +0100 Subject: [PATCH] Remove obsolete ldconfig scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- wxGTK.spec | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/wxGTK.spec b/wxGTK.spec index 52e6d26..1d6be69 100644 --- a/wxGTK.spec +++ b/wxGTK.spec @@ -167,17 +167,13 @@ pushd tests popd -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%ldconfig_scriptlets -%post gl -p /sbin/ldconfig -%postun gl -p /sbin/ldconfig +%ldconfig_scriptlets gl -%post media -p /sbin/ldconfig -%postun media -p /sbin/ldconfig +%ldconfig_scriptlets media -%post -n wxBase -p /sbin/ldconfig -%postun -n wxBase -p /sbin/ldconfig +%ldconfig_scriptlets -n wxBase %post devel if [ -f %{_bindir}/wx-config ] && [ ! -h %{_bindir}/wx-config ] ; then