From da8b15185437d3e5f5799485fd9cd45fc31b8b9e Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Thu, 15 Feb 2024 19:32:00 -0500 Subject: [PATCH] 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. --- fasterxml-oss-parent.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fasterxml-oss-parent.spec b/fasterxml-oss-parent.spec index e063804..e7fe7c6 100644 --- a/fasterxml-oss-parent.spec +++ b/fasterxml-oss-parent.spec @@ -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