]> xenbits.xensource.com Git - libvirt.git/commitdiff
spec: change gettext requires to gettext-runtime for F37
authorJens Petersen <petersen@redhat.com>
Thu, 25 Aug 2022 07:56:50 +0000 (15:56 +0800)
committerCole Robinson <crobinso@redhat.com>
Wed, 12 Oct 2022 14:08:25 +0000 (10:08 -0400)
See https://fedoraproject.org/wiki/Changes/GettextRuntimeSubpackage

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Cole Robinson <crobinso@redhat.com>
libvirt.spec.in

index 5408aa3154efdb70eb7079327e8cc854edce6301..d946a8da48aa7da95741ba04e16c02ca4cf54ff2 100644 (file)
@@ -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