mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 19:32:19 +00:00
libvirt.spec.in: remove netcf conditional
Both RHEL and Fedora build with netcf enabled at all times. Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
parent
64799c3f57
commit
db9249a1f8
@ -81,7 +81,6 @@
|
|||||||
# A few optional bits off by default, we enable later
|
# A few optional bits off by default, we enable later
|
||||||
%define with_polkit 0%{!?_without_polkit:0}
|
%define with_polkit 0%{!?_without_polkit:0}
|
||||||
%define with_fuse 0%{!?_without_fuse:0}
|
%define with_fuse 0%{!?_without_fuse:0}
|
||||||
%define with_netcf 0%{!?_without_netcf:0}
|
|
||||||
%define with_yajl 0%{!?_without_yajl:0}
|
%define with_yajl 0%{!?_without_yajl:0}
|
||||||
%define with_nwfilter 0%{!?_without_nwfilter:0}
|
%define with_nwfilter 0%{!?_without_nwfilter:0}
|
||||||
%define with_libpcap 0%{!?_without_libpcap:0}
|
%define with_libpcap 0%{!?_without_libpcap:0}
|
||||||
@ -175,15 +174,9 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%define with_polkit 0%{!?_without_polkit:1}
|
%define with_polkit 0%{!?_without_polkit:1}
|
||||||
%define with_netcf 0%{!?_without_netcf:1}
|
|
||||||
%define with_yajl 0%{!?_without_yajl:1}
|
%define with_yajl 0%{!?_without_yajl:1}
|
||||||
%define with_dtrace 1
|
%define with_dtrace 1
|
||||||
|
|
||||||
# interface requires netcf
|
|
||||||
%if ! 0%{?with_netcf}
|
|
||||||
%define with_interface 0
|
|
||||||
%endif
|
|
||||||
|
|
||||||
# Enable sanlock library for lock management with QEMU
|
# Enable sanlock library for lock management with QEMU
|
||||||
# Sanlock is available only on arches where kvm is available for RHEL
|
# Sanlock is available only on arches where kvm is available for RHEL
|
||||||
%if 0%{?fedora}
|
%if 0%{?fedora}
|
||||||
@ -453,12 +446,10 @@ BuildRequires: fuse-devel >= 2.8.6
|
|||||||
BuildRequires: libssh2-devel >= 1.3.0
|
BuildRequires: libssh2-devel >= 1.3.0
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with_netcf}
|
%if 0%{?fedora} || 0%{?rhel} >= 7
|
||||||
%if 0%{?fedora} || 0%{?rhel} >= 7
|
|
||||||
BuildRequires: netcf-devel >= 0.2.2
|
BuildRequires: netcf-devel >= 0.2.2
|
||||||
%else
|
%else
|
||||||
BuildRequires: netcf-devel >= 0.1.8
|
BuildRequires: netcf-devel >= 0.1.8
|
||||||
%endif
|
|
||||||
%endif
|
%endif
|
||||||
%if %{with_esx}
|
%if %{with_esx}
|
||||||
BuildRequires: libcurl-devel
|
BuildRequires: libcurl-devel
|
||||||
@ -650,7 +641,7 @@ capabilities.
|
|||||||
Summary: Interface driver plugin for the libvirtd daemon
|
Summary: Interface driver plugin for the libvirtd daemon
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Requires: libvirt-daemon = %{version}-%{release}
|
Requires: libvirt-daemon = %{version}-%{release}
|
||||||
%if %{with_netcf} && (0%{?fedora} || 0%{?rhel} >= 7)
|
%if (0%{?fedora} || 0%{?rhel} >= 7)
|
||||||
Requires: netcf-libs >= 0.2.2
|
Requires: netcf-libs >= 0.2.2
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -1173,10 +1164,6 @@ rm -rf .git
|
|||||||
%define _without_fuse --without-fuse
|
%define _without_fuse --without-fuse
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if ! %{with_netcf}
|
|
||||||
%define _without_netcf --without-netcf
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%if ! %{with_selinux}
|
%if ! %{with_selinux}
|
||||||
%define _without_selinux --without-selinux
|
%define _without_selinux --without-selinux
|
||||||
%endif
|
%endif
|
||||||
@ -1284,7 +1271,7 @@ rm -f po/stamp-po
|
|||||||
%{?_without_numad} \
|
%{?_without_numad} \
|
||||||
--with-capng \
|
--with-capng \
|
||||||
%{?_without_fuse} \
|
%{?_without_fuse} \
|
||||||
%{?_without_netcf} \
|
--with-netcf \
|
||||||
%{?_without_selinux} \
|
%{?_without_selinux} \
|
||||||
%{?_with_selinux_mount} \
|
%{?_with_selinux_mount} \
|
||||||
--without-apparmor \
|
--without-apparmor \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user