From 8d576ab8f926a9b46e54bfb9e3b1d0de0b59d8db Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 22 Jan 2019 18:40:42 +0100 Subject: [PATCH] Remove obsolete ldconfig scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- plymouth.spec | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/plymouth.spec b/plymouth.spec index e5fd864..8857c70 100644 --- a/plymouth.spec +++ b/plymouth.spec @@ -254,11 +254,9 @@ if [ $1 -eq 0 ]; then rm -f /boot/initrd-plymouth.img fi -%post core-libs -p /sbin/ldconfig -%postun core-libs -p /sbin/ldconfig +%ldconfig_scriptlets core-libs -%post graphics-libs -p /sbin/ldconfig -%postun graphics-libs -p /sbin/ldconfig +%ldconfig_scriptlets graphics-libs %postun theme-spinfinity export LIB=%{_lib}