From 72426aec77f8ac4f90f8a48e615183126f52e8f2 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Tue, 25 Jul 2023 20:04:17 -0400 Subject: [PATCH] Set ExclusiveArch on any OS with java_arches Fedora builds are not the only ones which no longer build Java for ix86; Fedora ELN and RHEL 10 are following that as well. This will avoid builds landing on Java-less architecture builders and thereby failing. Submitted upstream: https://github.com/dogtagpki/ldap-sdk/pull/53 --- ldapjdk.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ldapjdk.spec b/ldapjdk.spec index 8abb7d1..2456740 100644 --- a/ldapjdk.spec +++ b/ldapjdk.spec @@ -45,7 +45,7 @@ Source: https://github.com/dogtagpki/ldap-sdk/archive/v%{version}%{?phase:-}%{?p # Patch: ldap-sdk-VERSION-RELEASE.patch BuildArch: noarch -%if 0%{?fedora} +%if 0%{?java_arches:1} ExclusiveArch: %{java_arches} noarch %endif