mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-01 20:05:46 +00:00
spec: enable libssh transport on Fedora
This commit is contained in:
parent
22eaee8e01
commit
e7a7807bd6
@ -80,6 +80,7 @@
|
|||||||
%define with_firewalld 0%{!?_without_firewalld:0}
|
%define with_firewalld 0%{!?_without_firewalld:0}
|
||||||
%define with_libssh2 0%{!?_without_libssh2:0}
|
%define with_libssh2 0%{!?_without_libssh2:0}
|
||||||
%define with_wireshark 0%{!?_without_wireshark:0}
|
%define with_wireshark 0%{!?_without_wireshark:0}
|
||||||
|
%define with_libssh 0%{!?_without_libssh:0}
|
||||||
%define with_pm_utils 1
|
%define with_pm_utils 1
|
||||||
|
|
||||||
# Finally set the OS / architecture specific special cases
|
# Finally set the OS / architecture specific special cases
|
||||||
@ -172,6 +173,11 @@
|
|||||||
%define with_wireshark 0%{!?_without_wireshark:1}
|
%define with_wireshark 0%{!?_without_wireshark:1}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
# Enable libssh transport for new enough distros
|
||||||
|
%if 0%{?fedora}
|
||||||
|
%define with_libssh 0%{!?_without_libssh:1}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%if %{with_qemu} || %{with_lxc} || %{with_uml}
|
%if %{with_qemu} || %{with_lxc} || %{with_uml}
|
||||||
# numad is used to manage the CPU and memory placement dynamically,
|
# numad is used to manage the CPU and memory placement dynamically,
|
||||||
@ -418,6 +424,10 @@ BuildRequires: wireshark-devel >= 1.12.1
|
|||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if %{with_libssh}
|
||||||
|
BuildRequires: libssh-devel >= 0.7.0
|
||||||
|
%endif
|
||||||
|
|
||||||
Provides: bundled(gnulib)
|
Provides: bundled(gnulib)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
Loading…
Reference in New Issue
Block a user