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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Oct 6, 2020 at 12:35 PM Andrea Bolognani <abologna@xxxxxxxxxx> 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
%else
    %define arches_qemu_kvm   %{arches_x86} %{power64} s390x %{arm} aarch64
%endif

But either way works. :)

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





[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux