From 5e7edb2035bb522f5bfac37f93bb71010083d734 Mon Sep 17 00:00:00 2001 From: Anderson Toshiyuki Sasaki Date: Tue, 25 Sep 2018 13:39:09 +0200 Subject: [PATCH] Add missing libssh_threads.so link to libssh-devel --- libssh.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/libssh.spec b/libssh.spec index 1418955..dc05dbd 100644 --- a/libssh.spec +++ b/libssh.spec @@ -1,6 +1,6 @@ Name: libssh Version: 0.8.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A library implementing the SSH protocol License: LGPLv2+ URL: http://www.libssh.org @@ -69,7 +69,7 @@ make DESTDIR=%{buildroot} install/fast -C obj # requiring it to continue working. # pushd %{buildroot}%{_libdir} -for i in libssh.so.4*; +for i in libssh.so*; do _target="${i}" _link_name="${i%libssh*}libssh_threads${i##*libssh}" @@ -101,8 +101,12 @@ popd %{_libdir}/cmake/libssh/ %{_libdir}/pkgconfig/libssh.pc %{_libdir}/libssh.so +%{_libdir}/libssh_threads.so %changelog +* Tue Sep 25 2018 Anderson Sasaki - 0.8.3-2 +- Add missing libssh_threads.so link to libssh-devel package + * Fri Sep 21 2018 Andreas Schneider - 0.8.3-1 - Update to version 0.8.3 https://www.libssh.org/2018/09/21/libssh-0-8-3/