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-01-31 12:37:37 -05:00
parent b0a9356245
commit fe6726346b

View File

@ -12,7 +12,7 @@ BuildRequires: mvn(com.fasterxml.jackson:jackson-parent:pom:) >= 2.15
BuildRequires: mvn(junit:junit)
BuildArch: noarch
%if 0%{?fedora}
%if 0%{?fedora} || 0%{?rhel} >= 10
ExclusiveArch: %{java_arches} noarch
%endif