Conditionalize arches for RHEL
RHEL 10 has dropped Java on i686, and therefore ELN, c10s, and RHEL 10 (and newer) builds must also be limited to %java_arches.
This commit is contained in:
parent
bd70ffc310
commit
98de7138c9
@ -27,7 +27,7 @@ BuildRequires: mvn(org.mockito:mockito-all)
|
||||
BuildRequires: mvn(org.ow2.asm:asm)
|
||||
|
||||
BuildArch: noarch
|
||||
%if 0%{?fedora}
|
||||
%if 0%{?fedora} || 0%{?rhel} >= 10
|
||||
ExclusiveArch: %{java_arches} noarch
|
||||
%endif
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user