From 463cac437bd8f318ed97174171fca76f16da89d5 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Fri, 2 Feb 2018 11:12:49 +0100 Subject: [PATCH] Switch to %ldconfig_scriptlets Signed-off-by: Igor Gnatenko --- jsoncpp.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/jsoncpp.spec b/jsoncpp.spec index ae23baa..bf379b6 100644 --- a/jsoncpp.spec +++ b/jsoncpp.spec @@ -5,7 +5,7 @@ Name: jsoncpp Version: 1.8.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: JSON library implemented in C++ License: Public Domain or MIT @@ -89,8 +89,7 @@ hardlink -cfv %{buildroot}%{_docdir}/%{name} %make_build -C %{_target_platform} jsoncpp_check -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files @@ -118,6 +117,9 @@ hardlink -cfv %{buildroot}%{_docdir}/%{name} %changelog +* Fri Feb 02 2018 Igor Gnatenko - 1.8.4-2 +- Switch to %%ldconfig_scriptlets + * Tue Dec 26 2017 Björn Esser - 1.8.4-1 - Update to version 1.8.4 (rhbz#1529017)