From 9753644b28deee1e42ab752b1fff343ac2bb44c1 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Jan 22 2019 17:41:20 +0000 Subject: Remove obsolete ldconfig scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- 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