From 5008c31677cfd2012680b7d936933cacd883697e Mon Sep 17 00:00:00 2001 From: Alexander Sosedkin Date: Thu, 1 Feb 2024 18:30:57 +0100 Subject: [PATCH] Build only on %java_arches: limit to RHEL-10+ / ELN --- crypto-policies.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crypto-policies.spec b/crypto-policies.spec index a7bfc14..2860820 100644 --- a/crypto-policies.spec +++ b/crypto-policies.spec @@ -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