]> xenbits.xensource.com Git - libvirt.git/commitdiff
spec: Enable libssh on future RHEL
authorJiri Denemark <jdenemar@redhat.com>
Fri, 25 May 2018 07:45:15 +0000 (09:45 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Fri, 25 May 2018 07:45:15 +0000 (09:45 +0200)
Future RHEL will certainly be modern enough to support libssh.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
libvirt.spec.in

index 0e4a84c98c76a5ab2a55cf3de6af6ebe89ba7fe4..5e1e1df3f0421dd89ade6dd86025f3e42c723d67 100644 (file)
 %endif
 
 # Enable libssh transport for new enough distros
-%if 0%{?fedora}
+%if 0%{?fedora} || 0%{?rhel} > 7
     %define with_libssh 0%{!?_without_libssh:1}
 %endif