According to meson.build, and the actual code, Xen 4.6+ is required.
Signed-off-by: Olaf Hering <olaf(a)aepfle.de>
---
libvirt.spec.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libvirt.spec.in b/libvirt.spec.in
index 0a8b0ebad4..bd6e7c2747 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -126,7 +126,7 @@
%endif
# RHEL doesn't ship OpenVZ, VBox, PowerHypervisor,
-# VMware, libxenlight (Xen 4.1 and newer),
+# VMware, libxenlight (Xen 4.6 and newer),
# or HyperV.
%if 0%{?rhel}
%define with_openvz 0
@@ -272,7 +272,7 @@ BuildRequires: perl
BuildRequires: python3
BuildRequires: systemd-units
%if %{with_libxl}
-BuildRequires: xen-devel
+BuildRequires: pkgconfig(xenlight) >= 4.6.0
%endif
BuildRequires: glib2-devel >= 2.48
BuildRequires: libxml2-devel