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:
Yaakov Selkowitz 2024-02-15 19:32:00 -05:00
parent e61c00b96d
commit da8b151854

View File

@ -14,7 +14,7 @@ BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
BuildArch: noarch
%if 0%{?fedora}
%if 0%{?fedora} || 0%{?rhel} >= 10
ExclusiveArch: %{java_arches} noarch
%endif