From 9caf8b8517149f9ffef079134de08739a2ac39a5 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 5 Feb 2018 13:34:07 +0100 Subject: [PATCH] Switch to %ldconfig_scriptlets Signed-off-by: Igor Gnatenko --- ghostscript.spec | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/ghostscript.spec b/ghostscript.spec index 6165e8c..1196c5f 100644 --- a/ghostscript.spec +++ b/ghostscript.spec @@ -43,7 +43,7 @@ Name: ghostscript Summary: Interpreter for PostScript language & PDF Version: 9.22 -Release: 7%{?dist} +Release: 8%{?dist} License: AGPLv3+ @@ -373,11 +373,7 @@ done # === INSTALLATION INSTRUCTIONS =============================================== -%post -n libgs -p /sbin/ldconfig -%postun -n libgs -p /sbin/ldconfig - -%post -n libgs-devel -p /sbin/ldconfig -%postun -n libgs-devel -p /sbin/ldconfig +%ldconfig_scriptlets -n libgs # === PACKAGING INSTRUCTIONS ================================================== @@ -481,6 +477,9 @@ done # ============================================================================= %changelog +* Mon Feb 05 2018 Igor Gnatenko - 9.22-8 +- Switch to %%ldconfig_scriptlets + * Mon Jan 22 2018 Igor Gnatenko - 9.22-7 - Fix Obsoletes