[PATCH v2] rpm: adjust xenlight requirements

Olaf Hering olaf at aepfle.de
Fri Jan 8 10:26:13 UTC 2021


According to meson.build, and the actual code, Xen 4.6+ is required.
Drop the version, they is mentioned in meson.build.

Signed-off-by: Olaf Hering <olaf at 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..470631f7bd 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
 # 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)
 %endif
 BuildRequires: glib2-devel >= 2.48
 BuildRequires: libxml2-devel




More information about the libvir-list mailing list