diff --git a/SPECS/libreoffice.spec b/SPECS/libreoffice.spec index f34a672..2ae0124 100644 --- a/SPECS/libreoffice.spec +++ b/SPECS/libreoffice.spec @@ -276,7 +276,7 @@ BuildRequires: frozen-static %ifarch %{java_arches} # java stuff BuildRequires: ant -BuildRequires: java-devel +BuildRequires: java-17-devel BuildRequires: junit BuildRequires: pentaho-reporting-flow-engine %endif @@ -416,7 +416,7 @@ Requires: %{name}-langpack-es = %{epoch}:%{version}-%{release} Requires: %{name}-myspell-dict-es = %{epoch}:%{version}-%{release} %ifarch %{java_arches} # rhbz#949106 libreoffice-core drags in both openjdk 1.7.0 and 1.8.0 -Recommends: java-headless >= 1:1.6 +Recommends: java-17-headless >= 1:1.6 %else Obsoletes: libreoffice-nlpsolver < 1:7.4.0.0 Obsoletes: libreoffice-officebean < 1:7.4.0.0 @@ -450,7 +450,7 @@ Summary: Database front-end for LibreOffice Requires: firebird %endif %ifarch %{java_arches} -Requires: java-headless >= 1:1.6 +Requires: java-17-headless >= 1:1.6 %endif Requires: pentaho-reporting-flow-engine Requires: postgresql-jdbc @@ -663,7 +663,7 @@ Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release} Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release} Requires: unzip%{?_isa} %ifarch %{java_arches} -Requires: java-devel +Requires: java-17-devel %endif %description sdk