From 458e7977ffae509d35b404aab0389619464be260 Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Tue, 11 Oct 2022 19:00:32 +0000 Subject: [PATCH] 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. --- hdf5.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hdf5.spec b/hdf5.spec index eed861d..e8a88a4 100644 --- a/hdf5.spec +++ b/hdf5.spec @@ -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