]> xenbits.xensource.com Git - libvirt.git/commitdiff
spec: Add runtime requirement for libssh2
authorPeter Krempa <pkrempa@redhat.com>
Tue, 16 Oct 2012 12:34:35 +0000 (14:34 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 16 Oct 2012 20:47:04 +0000 (22:47 +0200)
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.

libvirt.spec.in

index 15c6b399475b72631fab123b53b33b73b3603cef..6bed33694d13923562a11be1b49865f7eff50db7 100644 (file)
@@ -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