From: Eric Blake Date: Sat, 29 Jun 2013 20:50:14 +0000 (-0600) Subject: spec: require xen-devel for libxl driver X-Git-Tag: CVE-2013-2218~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a214482ec07be65adcfa9d8e08ad55a333589bb;p=thirdparty%2Flibvirt.git spec: require xen-devel for libxl driver When using 'rpmbuild --define "_without_xen 1"', but on a new enough Fedora where %{with_libxl} still gets set to 1 by default, the build dependencies were incomplete, which could result in 'make rpm' failing because ./configure failed to build the libxl driver. * libvirt.spec.in (BuildRequires): Fix xen-devel condition. Signed-off-by: Eric Blake --- diff --git a/libvirt.spec.in b/libvirt.spec.in index 395ac250d5..ce5582c069 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -412,7 +412,7 @@ BuildRequires: python-devel %if %{with_systemd} BuildRequires: systemd-units %endif -%if %{with_xen} +%if %{with_xen} || %{with_libxl} BuildRequires: xen-devel %endif BuildRequires: libxml2-devel