[PATCH 24/27] libvirt.spec.in: remove macvtap conditional

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Both RHEL and Fedora build with macvtap at all times.

Signed-off-by: Daniel P. Berrange <berrange@xxxxxxxxxx>
---
 libvirt.spec.in | 13 ++-----------
 1 file changed, 2 insertions(+), 11 deletions(-)

diff --git a/libvirt.spec.in b/libvirt.spec.in
index c2e486e..a98d20d 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_macvtap       0%{!?_without_macvtap:0}
 %define with_libnl         0%{!?_without_libnl:0}
 %define with_cgconfig      0%{!?_without_cgconfig:0}
 %define with_sanlock       0%{!?_without_sanlock:0}
@@ -181,8 +180,6 @@
 
 
 %if %{with_qemu} || %{with_lxc} || %{with_uml}
-    %define with_macvtap  0%{!?_without_macvtap:1}
-
 # numad is used to manage the CPU and memory placement dynamically,
 # it's not available on s390[x] and ARM.
     %ifnarch s390 s390x %{arm}
@@ -190,9 +187,7 @@
     %endif
 %endif
 
-%if %{with_macvtap}
-    %define with_libnl 1
-%endif
+%define with_libnl 1
 
 # Pull in cgroups config system
 %if %{with_qemu} || %{with_lxc}
@@ -1032,10 +1027,6 @@ rm -rf .git
     %define _without_sanlock --without-sanlock
 %endif
 
-%if ! %{with_macvtap}
-    %define _without_macvtap --without-macvtap
-%endif
-
 %if %{with_firewalld}
     %define _with_firewalld --with-firewalld
 %endif
@@ -1122,7 +1113,7 @@ rm -f po/stamp-po
            --with-yajl \
            %{?_without_sanlock} \
            --with-libpcap \
-           %{?_without_macvtap} \
+           --with-macvtap \
            --with-audit \
            --with-dtrace \
            --with-driver-modules \
-- 
2.5.5

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]