Exclude RHEL 8 archs that we do not ship from the build process
Related: RHEL-16490
This commit is contained in:
parent
daa2edab23
commit
3d00313e9b
@ -141,12 +141,17 @@ License: MPLv1.1 or GPLv2+ or LGPLv2+
|
|||||||
ExcludeArch: %{ix86}
|
ExcludeArch: %{ix86}
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?rhel} == 8
|
%if 0%{?rhel} == 8
|
||||||
|
# Started to ship on aarch64 in RHEL 8.2, on s390x in RHEL 8.3
|
||||||
%if %{rhel_minor_version} == 1
|
%if %{rhel_minor_version} == 1
|
||||||
ExcludeArch: %{ix86} aarch64 s390x
|
ExcludeArch: %{ix86} s390x aarch64
|
||||||
|
%else
|
||||||
|
%if %{rhel_minor_version} == 2
|
||||||
|
ExcludeArch: %{ix86} s390x
|
||||||
%else
|
%else
|
||||||
ExcludeArch: %{ix86}
|
ExcludeArch: %{ix86}
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
%if 0%{?rhel} == 7
|
%if 0%{?rhel} == 7
|
||||||
ExcludeArch: aarch64 s390 ppc
|
ExcludeArch: aarch64 s390 ppc
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
Reference in New Issue
Block a user