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
This commit is contained in:
parent
1a74f825e7
commit
72426aec77
@ -45,7 +45,7 @@ Source: https://github.com/dogtagpki/ldap-sdk/archive/v%{version}%{?phase:-}%{?p
|
|||||||
# Patch: ldap-sdk-VERSION-RELEASE.patch
|
# Patch: ldap-sdk-VERSION-RELEASE.patch
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%if 0%{?fedora}
|
%if 0%{?java_arches:1}
|
||||||
ExclusiveArch: %{java_arches} noarch
|
ExclusiveArch: %{java_arches} noarch
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user