[libvirt PATCH 9/9] spec: Introduce arches_*

Neal Gompa ngompa13 at gmail.com
Wed Oct 7 02:28:24 UTC 2020

On Tue, Oct 6, 2020 at 12:35 PM Andrea Bolognani <abologna at redhat.com> wrote:
> On Tue, 2020-10-06 at 08:15 -0400, Neal Gompa wrote:
> > Then can we flip this conditional to %if 0%{?rhel} for the
> > architecture list? As it is, it's unclear that the reason that *RHEL*
> > is the less-capable variant.
> Are you thinking of something like
>   %define arches_qemu_kvm       %{arches_x86} %{power64} s390x %{arm} aarch64
>   %if 0%{?rhel}
>       %define arches_qemu_kvm   x86_64 %{power64} aarch64 s390x
>   %endif
> ? I can definitely go that route.

That's a way to do it. Another way to do it:

%if 0%{?rhel}
    %define arches_qemu_kvm   x86_64 %{power64} aarch64 s390x
    %define arches_qemu_kvm   %{arches_x86} %{power64} s390x %{arm} aarch64

But either way works. :)

真実はいつも一つ!/ Always, there's only one truth!

More information about the libvir-list mailing list