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

Cole Robinson posted 1 patch 1 year, 6 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/f973cefb4469d3eb0f73a30d14ecb0656d59314d.1665508013.git.crobinso@redhat.com
libvirt.spec.in | 4 ++++
1 file changed, 4 insertions(+)
[PATCH] spec: change gettext requires to gettext-runtime for F37
Posted by Cole Robinson 1 year, 6 months ago
From: Jens Petersen <petersen@redhat.com>

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

Signed-off-by: Cole Robinson <crobinso@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
Re: [PATCH] spec: change gettext requires to gettext-runtime for F37
Posted by Michal Prívozník 1 year, 6 months ago
On 10/11/22 19:06, Cole Robinson wrote:
> From: Jens Petersen <petersen@redhat.com>
> 
> See https://fedoraproject.org/wiki/Changes/GettextRuntimeSubpackage
> 
> Signed-off-by: Cole Robinson <crobinso@redhat.com>
> ---
>  libvirt.spec.in | 4 ++++
>  1 file changed, 4 insertions(+)

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>

Michal