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:
parent
f92ae4b1f8
commit
6d56296060
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user