From 1799fcbbf1b32678d136ab16e19fdb469ca3c1d6 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 22 Jan 2019 18:39:15 +0100 Subject: [PATCH] Remove obsolete ldconfig scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- gutenprint.spec | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/gutenprint.spec b/gutenprint.spec index 8b38021..29647af 100644 --- a/gutenprint.spec +++ b/gutenprint.spec @@ -184,11 +184,8 @@ do done -%post libs -p /sbin/ldconfig -%post libs-ui -p /sbin/ldconfig - -%postun libs -p /sbin/ldconfig -%postun libs-ui -p /sbin/ldconfig +%ldconfig_scriptlets libs +%ldconfig_scriptlets libs-ui %post cups /usr/sbin/cups-genppdupdate >/dev/null 2>&1 || :