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 e1dab82 commit c611149
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tomcatjss.spec
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Source: https://github.com/dogtagpki/tomcatjss/archive/v%{version}%{?p
# Patch: tomcatjss-VERSION-RELEASE.patch

BuildArch: noarch
%if 0%{?fedora}
%if 0%{?java_arches:1}
ExclusiveArch: %{java_arches} noarch
%endif

Expand Down

0 comments on commit c611149

Please sign in to comment.