From f1a028dec7d7ca94017a27ec9d756970ae523603 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Sun, 4 Feb 2024 22:49:11 -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. --- jboss-jaxrs-2.0-api.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jboss-jaxrs-2.0-api.spec b/jboss-jaxrs-2.0-api.spec index caad917..eb94fc1 100644 --- a/jboss-jaxrs-2.0-api.spec +++ b/jboss-jaxrs-2.0-api.spec @@ -18,7 +18,7 @@ BuildRequires: mvn(org.jboss:jboss-parent:pom:) BuildRequires: mvn(jakarta.xml.bind:jakarta.xml.bind-api) BuildArch: noarch -%if 0%{?fedora} +%if 0%{?fedora} || 0%{?rhel} >= 10 ExclusiveArch: %{java_arches} noarch %endif