From 134e5a6f5c6068ac54bb0835ca9a67d4d4b6845e Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Wed, 31 Jan 2018 17:35:24 +0100 Subject: [PATCH] Switch to %ldconfig_scriptlets Signed-off-by: Igor Gnatenko --- libssh.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/libssh.spec b/libssh.spec index c46bc91..daaef1f 100644 --- a/libssh.spec +++ b/libssh.spec @@ -1,6 +1,6 @@ Name: libssh Version: 0.7.5 -Release: 4%{?dist} +Release: 5%{?dist} Summary: A library implementing the SSH protocol License: LGPLv2+ URL: http://www.libssh.org @@ -62,9 +62,7 @@ make DESTDIR=%{buildroot} install/fast -C obj rm -fv %{buildroot}%{_libdir}/libssh.a rm -fv %{buildroot}%{_libdir}/libssh_threads.a -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %check pushd obj @@ -92,6 +90,9 @@ popd %{_libdir}/libssh_threads.so %changelog +* Wed Jan 31 2018 Igor Gnatenko - 0.7.5-5 +- Switch to %%ldconfig_scriptlets + * Fri Dec 29 2017 Andreas Schneider - 0.7.5-4 - Fix parsing ssh_config