From 736889c2463f4e7641ac68cf798b94ddcba44015 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 22 Jan 2019 18:39:43 +0100 Subject: [PATCH] Remove obsolete ldconfig scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- libgcrypt.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libgcrypt.spec b/libgcrypt.spec index 8940376..536095d 100644 --- a/libgcrypt.spec +++ b/libgcrypt.spec @@ -152,9 +152,7 @@ popd mkdir -p -m 755 $RPM_BUILD_ROOT/etc/gcrypt install -m644 %{SOURCE7} $RPM_BUILD_ROOT/etc/gcrypt/random.conf -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %post devel [ -f %{_infodir}/gcrypt.info.gz ] && \