From 84dd89e234b4fd5f28b785abb5321f8eab15ca85 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 3 Feb 2018 13:34:10 +0100 Subject: [PATCH] Switch to %ldconfig_scriptlets Signed-off-by: Igor Gnatenko --- libsodium.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/libsodium.spec b/libsodium.spec index c43c39c..bdc2ff8 100644 --- a/libsodium.spec +++ b/libsodium.spec @@ -10,7 +10,7 @@ Name: libsodium Version: 1.0.16 -Release: 1%{?dist} +Release: 2%{?dist} Summary: The Sodium crypto library License: ISC URL: http://libsodium.org/ @@ -75,9 +75,7 @@ rm -f %{buildroot}%{_libdir}/%{libname}.la make check -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files @@ -98,6 +96,9 @@ make check %changelog +* Sat Feb 03 2018 Igor Gnatenko - 1.0.16-2 +- Switch to %%ldconfig_scriptlets + * Wed Dec 13 2017 Remi Collet - 1.0.16-1 - update to 1.0.16