From dceba3252b0848e5a1ef4814e4b82ec84a04c8fe Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Fri, 2 Feb 2018 11:12:18 +0100 Subject: [PATCH] Switch to %ldconfig_scriptlets Signed-off-by: Igor Gnatenko --- json-c.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/json-c.spec b/json-c.spec index f6024b2..a1c4ba1 100644 --- a/json-c.spec +++ b/json-c.spec @@ -16,7 +16,7 @@ Name: json-c Version: 0.13 -Release: 5%{?dist} +Release: 6%{?dist} Summary: JSON implementation in C License: MIT @@ -143,10 +143,7 @@ if st and st.type == "link" then end -%post -p /sbin/ldconfig - - -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files @@ -176,6 +173,9 @@ end %changelog +* Fri Feb 02 2018 Igor Gnatenko - 0.13-6 +- Switch to %%ldconfig_scriptlets + * Thu Dec 14 2017 Björn Esser - 0.13-5 - Update patch fixing a segfault caused by possible invalid frees