Build only on %java_arches

While the resulting RPM is noarch, this package uses java-devel for
testing purposes, and therefore can only be built on java-enabled arches.
This prevents the build from landing on an i686 builder and failing.
This commit is contained in:
Yaakov Selkowitz 2023-12-14 12:11:49 -05:00
parent f92ae4b1f8
commit 6d56296060
1 changed files with 1 additions and 0 deletions

View File

@ -36,6 +36,7 @@ URL: https://gitlab.com/redhat-crypto/fedora-crypto-policies
# For RHEL-9 we use the upstream branch rhel9.
Source0: https://gitlab.com/redhat-crypto/fedora-crypto-policies/-/archive/%{git_commit_hash}/%{name}-git%{git_commit_hash}.tar.gz
ExclusiveArch: %{java_arches} noarch
BuildArch: noarch
BuildRequires: asciidoc
BuildRequires: libxslt