X-Git-Url: http://git.onelab.eu/?p=libvirt.git;a=blobdiff_plain;f=libvirt.spec;h=6020d62d97c98b6742375d3ad53d2ec43720039f;hp=727260bde9a38ea0f06bb20c25fb4348f70f70a1;hb=af448e89aaa9d437662dab683780dc8755019e78;hpb=00b892846c76eac71f38fe5e134ee52f3e259e09 diff --git a/libvirt.spec b/libvirt.spec index 727260b..6020d62 100644 --- a/libvirt.spec +++ b/libvirt.spec @@ -28,6 +28,8 @@ %define _without_esx true %define _without_libxl true +%define enable_autotools 1 + # If neither fedora nor rhel was defined, try to guess them from %{dist} %if !0%{?rhel} && !0%{?fedora} %{expand:%(echo "%{?dist}" | \ @@ -380,7 +382,7 @@ URL: http://libvirt.org/ %endif Source: http://libvirt.org/sources/%{?mainturl}libvirt-%{version}.tar.gz Patch1: libcurl.patch -Patch2: securityselinuxlabeltest.patch +Patch3: securityselinuxlabeltest.patch %if %{with_libvirtd} Requires: libvirt-daemon = %{version}-%{release} @@ -407,7 +409,9 @@ Requires: libvirt-daemon-driver-uml = %{version}-%{release} Requires: libvirt-daemon-driver-xen = %{version}-%{release} %endif + %if %{with_interface} Requires: libvirt-daemon-driver-interface = %{version}-%{release} + %endif Requires: libvirt-daemon-driver-secret = %{version}-%{release} Requires: libvirt-daemon-driver-storage = %{version}-%{release} Requires: libvirt-daemon-driver-network = %{version}-%{release} @@ -1109,7 +1113,7 @@ of recent versions of Linux (and other OSes). %prep %setup -q %patch1 -p1 -%patch2 -p1 +%patch3 -p1 %build %if ! %{with_xen}