Skip to content

Commit

Permalink
spec: set ExclusiveArch on any OS with java_arches
Browse files Browse the repository at this point in the history
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.

Original patch by Yaakov Selkowitz <[email protected]>
dogtagpki/ldap-sdk#53
  • Loading branch information
ckelleyRH committed Jul 26, 2023
1 parent 5f7fd3b commit 14754b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jss.spec
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Source: https://github.com/dogtagpki/jss/archive/v%{version}%{?phase:-}%
# > jss-VERSION-RELEASE.patch
# Patch: jss-VERSION-RELEASE.patch

%if 0%{?fedora} && 0%{?fedora} > 35
%if 0%{?java_arches:1}
ExclusiveArch: %{java_arches}
%else
ExcludeArch: i686
Expand Down

0 comments on commit 14754b4

Please sign in to comment.