[PATCH] spec: change gettext requires to gettext-runtime for F37

Cole Robinson crobinso at redhat.com
Tue Oct 11 17:06:53 UTC 2022


From: Jens Petersen <petersen at redhat.com>

See https://fedoraproject.org/wiki/Changes/GettextRuntimeSubpackage

Signed-off-by: Cole Robinson <crobinso at redhat.com>
---
 libvirt.spec.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libvirt.spec.in b/libvirt.spec.in
index 5408aa3154..d946a8da48 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -471,7 +471,11 @@ Requires: dbus
 # For uid creation during pre
 Requires(pre): shadow-utils
 # Needed by /usr/libexec/libvirt-guests.sh script.
+%if 0%{?fedora} >= 37
+Requires: gettext-runtime
+%else
 Requires: gettext
+%endif
 
 # Ensure smooth upgrades
 Obsoletes: libvirt-admin < 7.3.0
-- 
2.37.3



More information about the libvir-list mailing list