]> git.ipfire.org Git - thirdparty/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)
committerCole Robinson <crobinso@redhat.com>
Thu, 18 Oct 2012 17:32:10 +0000 (13:32 -0400)
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.
(cherry picked from commit cb4f41b8d0a2dc4258f1b097dff2ca2b34fbd086)

libvirt.spec.in

index f697b7214b20283ddc4f88e56329f34721377972..855d6102a88a03d5a1afe1dcfa224087b4d75c3d 100644 (file)
@@ -1002,6 +1002,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