From c446ad80fff62c506716c8fd6f01b5953abbabab Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Wed, 31 Jan 2024 12:41:42 -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. --- jackson-parent.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jackson-parent.spec b/jackson-parent.spec index dcac6d1..ab67ec4 100644 --- a/jackson-parent.spec +++ b/jackson-parent.spec @@ -14,7 +14,7 @@ BuildRequires: maven-local BuildRequires: mvn(com.fasterxml:oss-parent:pom:) BuildArch: noarch -%if 0%{?fedora} +%if 0%{?fedora} || 0%{?rhel} >= 10 ExclusiveArch: %{java_arches} noarch %endif