From: Jiri Denemark Date: Wed, 2 Nov 2022 11:42:26 +0000 (+0100) Subject: spec: Fix python3-libvirt requirement in client-qemu package X-Git-Tag: v8.10.0-rc1~197 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e23ef8222685b70b104d35c8276c2c2d7b3403e;p=thirdparty%2Flibvirt.git spec: Fix python3-libvirt requirement in client-qemu package The %{release} part of the requirement is just wrong as python bindings are not rebuilt anytime libvirt release is increased, which means the client-qemu package may require nonexistent release of python bindings. The %{version} part is not wrong, but it's too strict for no reason as the virt-qemu-qmp-proxy script will work happily even with ancient python bindings. And since all distros supported by libvirt.spec already contain python3-libvirt, we can depend on the first package called this way. Signed-off-by: Jiri Denemark Reviewed-by: Daniel P. Berrangé --- diff --git a/libvirt.spec.in b/libvirt.spec.in index d946a8da48..0bbcdb8956 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -906,7 +906,7 @@ capabilities of recent versions of Linux (and other OSes). %package client-qemu Summary: Additional client side utilities for QEMU Requires: %{name}-libs = %{version}-%{release} -Requires: python3-libvirt >= %{version}-%{release} +Requires: python3-libvirt >= 3.7.0 %description client-qemu The additional client binaries are used to interact