From: Peter Krempa Date: Tue, 16 Oct 2012 12:34:35 +0000 (+0200) Subject: spec: Add runtime requirement for libssh2 X-Git-Tag: v1.0.0-rc1~86 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb4f41b8d0a2dc4258f1b097dff2ca2b34fbd086;p=thirdparty%2Flibvirt.git spec: Add runtime requirement for libssh2 libssh2 unfortunately doesn't support symbol versioning so RPM can't figure out what version is needed for the currently installed libvirt package. This patch adds a runtime requirement, so that the correct version of libssh2 can be installed along with libvirt. --- diff --git a/libvirt.spec.in b/libvirt.spec.in index 15c6b39947..6bed33694d 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -1008,6 +1008,9 @@ Requires: cyrus-sasl # work correctly & doesn't have onerous dependencies Requires: cyrus-sasl-md5 %endif +%if %{with_libssh2_transport} +Requires: libssh2 >= 1.3.0 +%endif %description client Shared libraries and client binaries needed to access to the