]> xenbits.xensource.com Git - libvirt.git/commitdiff
libvirt.spec.in: remove libnl conditional
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 4 May 2016 15:44:48 +0000 (16:44 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 11 May 2016 15:42:38 +0000 (16:42 +0100)
Both RHEL and Fedora build with libnl3 at all times.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
libvirt.spec.in

index a98d20db21e25a77fe2554dbdbdec20d881c4bbb..1727b5283d61e93b8b2b685ef020e6e38ce57228 100644 (file)
@@ -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}
     %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