]> git.pld-linux.org Git - packages/libreoffice.git/commitdiff
depend on openjdk11 specifically to avoid conflict with java8
authorJan Palus <atler@pld-linux.org>
Thu, 12 Aug 2021 18:34:29 +0000 (20:34 +0200)
committerJan Palus <atler@pld-linux.org>
Thu, 12 Aug 2021 18:34:29 +0000 (20:34 +0200)
openjdk11 is the only maintained provider of jdk >= 1.9 as of this
writing and it's more sensible to keep java8 as default jdk/jre

libreoffice.spec

index 35b157f641461fabe63879935214f14a20648c32..2be682f70f09143cbead0ab3e21c63abf4755afe 100644 (file)
@@ -57,6 +57,8 @@
 %define                major_ver       7.2.0
 %define                qt5_ver         5.6
 
+%define                use_jdk         openjdk11
+
 Summary:       LibreOffice - powerful office suite
 Summary(pl.UTF-8):     LibreOffice - potężny pakiet biurowy
 Name:          libreoffice
@@ -252,8 +254,9 @@ BuildRequires:      zlib-devel
 %if %{with java}
 BuildRequires: ant >= 1.7.0
 BuildRequires: ant-apache-regexp
-BuildRequires: jdk >= 1.9
-BuildRequires: jre >= 1.9
+BuildRequires: openjdk11-jdk-base
+BuildRequires: openjdk11-jre-base
+BuildRequires: openjdk11-jre-base-X11
 %endif
 %if %{with kde5}
 BuildRequires: kf5-kconfig-devel >= 5.0
This page took 0.104654 seconds and 4 git commands to generate.