Disable package on armv7

https://bugzilla.redhat.com/show_bug.cgi?id=1778517
This commit is contained in:
Richard W.M. Jones 2019-12-01 21:17:13 +00:00
parent 4ccc35c84d
commit 42353f5102

View File

@ -23,6 +23,18 @@
# often broken on non-x86_64 arches.
%global complete_test_arches x86_64
%if 0%{?rhel} == 7
# On RHEL 7, nothing in the virt stack is shipped on aarch64 and
# libguestfs was not shipped on POWER (fixed in 7.5). We could in
# theory make all of this work by having lots more conditionals, but
# for now limit this package to x86_64 on RHEL.
ExclusiveArch: x86_64
%endif
# The package is broken on armv7 because qemu is not installable.
# https://bugzilla.redhat.com/show_bug.cgi?id=1778517
ExcludeArch: %{arm}
# If we should verify tarball signature with GPGv2.
%global verify_tarball_signature 1
@ -54,14 +66,6 @@ Patch1: 0001-tests-Run-just-built-nbdkit-not-installed-nbdkit.patch
BuildRequires: autoconf, automake, libtool
%endif
%if 0%{?rhel} == 7
# On RHEL 7, nothing in the virt stack is shipped on aarch64 and
# libguestfs was not shipped on POWER (fixed in 7.5). We could in
# theory make all of this work by having lots more conditionals, but
# for now limit this package to x86_64 on RHEL.
ExclusiveArch: x86_64
%endif
%ifnarch %{complete_test_arches}
BuildRequires: autoconf, automake, libtool
%endif