From 662f0e2ba441ed37c2cde169a1f37ef3dbf2cdbf Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 25 Aug 2022 15:56:50 +0800 Subject: [PATCH] change gettext requires to gettext-runtime for F37 (#2117209) See https://fedoraproject.org/wiki/Changes/GettextRuntimeSubpackage --- libvirt.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/libvirt.spec b/libvirt.spec index 32e1630..eb5d5c8 100644 --- a/libvirt.spec +++ b/libvirt.spec @@ -235,7 +235,7 @@ Summary: Library providing a simple virtualization API Name: libvirt Version: 8.7.0 -Release: 1%{?dist} +Release: 2%{?dist} License: LGPLv2+ URL: https://libvirt.org/ @@ -478,7 +478,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 @@ -2409,6 +2413,9 @@ exit 0 %changelog +* Fri Sep 9 2022 Jens Petersen - 8.7.0-2 +- F37 libvirt-daemon: depend on gettext-runtime instead of gettext (#2117209) + * Tue Sep 06 2022 Cole Robinson - 8.7.0-1 - Update to version 8.7.0