Build only on %java_arches: limit to RHEL-10+ / ELN

This commit is contained in:
Alexander Sosedkin 2024-02-01 18:30:57 +01:00 committed by root
parent 6d56296060
commit 90afd98cae
2 changed files with 3 additions and 0 deletions

View File

@ -0,0 +1 @@
0ac1d8a0b7b462259a9110bb01af6eb2c6f56be9 crypto-policies-gite9247c2.tar.gz

View File

@ -36,7 +36,9 @@ 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
%if 0%{?rhel} >= 10
ExclusiveArch: %{java_arches} noarch
%endif
BuildArch: noarch
BuildRequires: asciidoc
BuildRequires: libxslt