diff --git a/libreoffice.spec b/libreoffice.spec index 351e0eb..5db22af 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -207,10 +207,14 @@ BuildRequires: tomcat-servlet-3.0-api BuildRequires: bsh %if 0%{?rhel} && 0%{?rhel} < 7 BuildRequires: hsqldb +%ifarch %{ix86} x86_64 s390 s390x BuildRequires: java-devel >= 1:1.6.0 %else BuildRequires: java-devel %endif +%else +BuildRequires: java-devel +%endif BuildRequires: jakarta-commons-httpclient %if 0%{?fedora} || 0%{?rhel} >= 7 BuildRequires: junit