]> git.ipfire.org Git - thirdparty/libvirt.git/commit
spec: Introduce arches_*
authorAndrea Bolognani <abologna@redhat.com>
Mon, 5 Oct 2020 16:05:35 +0000 (18:05 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Fri, 9 Oct 2020 12:34:28 +0000 (14:34 +0200)
commit974dc0a4c678af8ccb9224abecc834bb593e81fa
treedd1662d95f48714f9d2275963d6a8ee8726a3045
parent7f56b31562cc30668a2b4cbf2d7e3267eff6ee05
spec: Introduce arches_*

With this commit, all architecture lists that we base feature
enablement decisions on are defined within a few lines of each
other, increasing maintainability.

Additionally, generic architecture lists that appear in the
conditions for multiple features are defined, so that repetition
is reduced.

Note that a few checks (numactl, zfs, ceph) have been changed
from %ifarch to %ifnarch for consistency: while doing so, the
corresponding list of architectures has also been replaced with
the complement of the original one to ensure the overall behavior
would be preserved.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
libvirt.spec.in