From 02a807229968fb23836c9feb86c19f1ea055f3ff Mon Sep 17 00:00:00 2001 From: Eduard Abdullin Date: Wed, 9 Apr 2025 15:35:05 +0300 Subject: [PATCH] Fix build for AlmaLinux Avoid permission denied for yum/dnf cache Enable building for ppc64le --- SPECS/libguestfs.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/SPECS/libguestfs.spec b/SPECS/libguestfs.spec index f66bfda..88063b4 100644 --- a/SPECS/libguestfs.spec +++ b/SPECS/libguestfs.spec @@ -37,15 +37,17 @@ Summary: Access and modify virtual machine disk images Name: libguestfs Epoch: 1 Version: 1.54.0 -Release: 4%{?dist}.alma.1 +Release: 4%{?dist}.alma.2 License: LGPL-2.1-or-later # Build only for architectures that have a kernel ExclusiveArch: %{kernel_arches} %if 0%{?rhel} +%if 0%{?almalinux} < 9 # No qemu-kvm on POWER (RHBZ#1946532). ExcludeArch: %{power64} %endif +%endif # Source and patches. URL: http://libguestfs.org/ @@ -1094,9 +1096,10 @@ rm ocaml/html/.gitignore %changelog -* Tue Mar 11 2025 Eduard Abdullin - 1:1.54.0-4.alma.1 +* Wed Apr 09 2025 Eduard Abdullin - 1:1.54.0-4.alma.2 - Fix build for AlmaLinux - Avoid permission denied for yum/dnf cache +- Enable building for ppc64le * Mon Feb 24 2025 Richard W.M. Jones - 1:1.54.0-4 - Add new APIs to allow command output > 4MB