restricted to java-arches

This commit is contained in:
Jiri Vanek 2023-11-21 16:02:43 +01:00
parent 1eb10e704b
commit 26504dac4c
1 changed files with 7 additions and 0 deletions

View File

@ -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