On 16.10.2012 14:37, Peter Krempa wrote:
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 to v1:
- be more specific with the requirement
libvirt.spec.in | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libvirt.spec.in b/libvirt.spec.in
index 75623eb..a651394 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -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
ACK
Michal