diff --git a/config.yaml b/config.yaml index f479160..85f5f5c 100644 --- a/config.yaml +++ b/config.yaml @@ -2,7 +2,7 @@ actions: - replace: - target: "spec" find: | - if ping -c 3 -w 20 8.8.8.8 && wget http://libguestfs.org -O /dev/null; then + if ping -c 3 -w 20 8.8.8.8 && curl http://libguestfs.org -o /dev/null; then extra= else mkdir cachedir repo @@ -20,6 +20,17 @@ actions: extra=--with-supermin-packager-config=$(pwd)/yum.conf count: 1 + - target: "spec" + find: | + # No qemu-kvm on POWER (RHBZ#1946532). + ExcludeArch: %{power64} + replace: | + %if 0%{?almalinux} < 9 + # No qemu-kvm on POWER (RHBZ#1946532). + ExcludeArch: %{power64} + %endif + count: 1 + - modify_release: - suffix: ".alma.1" enabled: true @@ -30,3 +41,4 @@ actions: line: - "Fix build for AlmaLinux" - "Avoid permission denied for yum/dnf cache" + - "Enable building for ppc64le"