Switch to %ldconfig_scriptlets

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-01-31 17:35:24 +01:00
parent 32121182ab
commit 134e5a6f5c
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C
1 changed files with 5 additions and 4 deletions

View File

@ -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 <ignatenkobrain@fedoraproject.org> - 0.7.5-5
- Switch to %%ldconfig_scriptlets
* Fri Dec 29 2017 Andreas Schneider <asn@redhat.com> - 0.7.5-4
- Fix parsing ssh_config