libvirt.spec.in: remove libnl conditional
Both RHEL and Fedora build with libnl3 at all times. Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
parent
2c14e90d61
commit
5097fef87d
@ -72,7 +72,6 @@
|
|||||||
|
|
||||||
# A few optional bits off by default, we enable later
|
# A few optional bits off by default, we enable later
|
||||||
%define with_fuse 0%{!?_without_fuse:0}
|
%define with_fuse 0%{!?_without_fuse:0}
|
||||||
%define with_libnl 0%{!?_without_libnl:0}
|
|
||||||
%define with_cgconfig 0%{!?_without_cgconfig:0}
|
%define with_cgconfig 0%{!?_without_cgconfig:0}
|
||||||
%define with_sanlock 0%{!?_without_sanlock:0}
|
%define with_sanlock 0%{!?_without_sanlock:0}
|
||||||
%define with_systemd 0%{!?_without_systemd:0}
|
%define with_systemd 0%{!?_without_systemd:0}
|
||||||
@ -187,8 +186,6 @@
|
|||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%define with_libnl 1
|
|
||||||
|
|
||||||
# Pull in cgroups config system
|
# Pull in cgroups config system
|
||||||
%if %{with_qemu} || %{with_lxc}
|
%if %{with_qemu} || %{with_lxc}
|
||||||
%define with_cgconfig 0%{!?_without_cgconfig:1}
|
%define with_cgconfig 0%{!?_without_cgconfig:1}
|
||||||
@ -314,9 +311,7 @@ BuildRequires: yajl-devel
|
|||||||
BuildRequires: sanlock-devel >= 2.4
|
BuildRequires: sanlock-devel >= 2.4
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: libpcap-devel
|
BuildRequires: libpcap-devel
|
||||||
%if %{with_libnl}
|
|
||||||
BuildRequires: libnl3-devel
|
BuildRequires: libnl3-devel
|
||||||
%endif
|
|
||||||
BuildRequires: avahi-devel
|
BuildRequires: avahi-devel
|
||||||
BuildRequires: libselinux-devel
|
BuildRequires: libselinux-devel
|
||||||
BuildRequires: dnsmasq >= 2.41
|
BuildRequires: dnsmasq >= 2.41
|
||||||
|
Loading…
x
Reference in New Issue
Block a user