Add missing libssh_threads.so link to libssh-devel

This commit is contained in:
Anderson Toshiyuki Sasaki 2018-09-25 13:39:09 +02:00
parent 4689d1aea3
commit 5e7edb2035
1 changed files with 6 additions and 2 deletions

View File

@ -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 <ansasaki@redhat.com> - 0.8.3-2
- Add missing libssh_threads.so link to libssh-devel package
* Fri Sep 21 2018 Andreas Schneider <asn@redhat.com> - 0.8.3-1
- Update to version 0.8.3
https://www.libssh.org/2018/09/21/libssh-0-8-3/