[libvirt] [PATCH 25/27] libvirt.spec.in: remove libnl conditional

Daniel P. Berrange berrange at redhat.com
Wed May 4 16:17:32 UTC 2016


Both RHEL and Fedora build with libnl3 at all times.

Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
---
 libvirt.spec.in | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/libvirt.spec.in b/libvirt.spec.in
index a98d20d..1727b52 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -72,7 +72,6 @@
 
 # A few optional bits off by default, we enable later
 %define with_fuse          0%{!?_without_fuse:0}
-%define with_libnl         0%{!?_without_libnl:0}
 %define with_cgconfig      0%{!?_without_cgconfig:0}
 %define with_sanlock       0%{!?_without_sanlock:0}
 %define with_systemd       0%{!?_without_systemd:0}
@@ -187,8 +186,6 @@
     %endif
 %endif
 
-%define with_libnl 1
-
 # Pull in cgroups config system
 %if %{with_qemu} || %{with_lxc}
     %define with_cgconfig 0%{!?_without_cgconfig:1}
@@ -314,9 +311,7 @@ BuildRequires: yajl-devel
 BuildRequires: sanlock-devel >= 2.4
 %endif
 BuildRequires: libpcap-devel
-%if %{with_libnl}
 BuildRequires: libnl3-devel
-%endif
 BuildRequires: avahi-devel
 BuildRequires: libselinux-devel
 BuildRequires: dnsmasq >= 2.41
-- 
2.5.5




More information about the libvir-list mailing list