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
parent 6d56296060
commit 5008c31677

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