Move all java buildrequires to java section

hamcrest, junit and slf4j are all java binaries that are pulling in openjdk.
The only reason this is building on i686 is because there is an old openjdk tagged into the buildroot.
Moving them up to the java section before this bites us.
This commit is contained in:
Troy Dawson 2022-10-11 19:00:32 +00:00
parent 3f25ec1b0f
commit 458e7977ff

View File

@ -43,12 +43,12 @@ BuildRequires: gcc-gfortran
%if %{with java}
BuildRequires: java-devel
BuildRequires: javapackages-tools
%else
Obsoletes: java-hdf5 < %{version}-%{release}
%endif
BuildRequires: hamcrest
BuildRequires: junit
BuildRequires: slf4j
%else
Obsoletes: java-hdf5 < %{version}-%{release}
%endif
BuildRequires: krb5-devel
BuildRequires: openssl-devel
BuildRequires: time