From 26504dac4c5d1ddf0ec7e85199b12e54be85e259 Mon Sep 17 00:00:00 2001 From: Jiri Vanek Date: Tue, 21 Nov 2023 16:02:43 +0100 Subject: [PATCH] restricted to java-arches --- java-latest-openjdk-portable.spec | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/java-latest-openjdk-portable.spec b/java-latest-openjdk-portable.spec index f487843..7bac98c 100644 --- a/java-latest-openjdk-portable.spec +++ b/java-latest-openjdk-portable.spec @@ -518,6 +518,13 @@ %global alternatives_requires %{_sbindir}/alternatives %endif +# x86 is no longer supported +%if 0%{?java_arches:1} +ExclusiveArch: %{java_arches} +%else +ExcludeArch: %{ix86} +%endif + # Portables have no repo (requires/provides), but these are awesome for orientation in spec # Also scriptlets are happily missing and files are handled old fashion # not-duplicated requires/provides/obsoletes for normal/debug packages