Disable Java subpackages in RHEL builds

This is based on the change already in c9s:

ddeca16f48
This commit is contained in:
Yaakov Selkowitz 2023-05-10 19:10:47 -04:00
parent f30bed2c10
commit 020556d7f0

View File

@ -4,11 +4,15 @@
# compared to the pure-Python implementation.
%bcond_without python_cpp
# Build -java subpackage
%if %{defined rhel}
%bcond_with java
%else
%ifarch %{java_arches}
%bcond_without java
%else
%bcond_with java
%endif
%endif
#global rcver rc2