Make Java optional.

f41
Vitaly Zaitsev 2 years ago
parent d9eb7d48cf
commit e181c6d1a5
No known key found for this signature in database
GPG Key ID: BF99FC6DD45AB90A

@ -55,7 +55,7 @@ Summary: Free Software Productivity Suite
Name: libreoffice Name: libreoffice
Epoch: 1 Epoch: 1
Version: %{libo_version}.2 Version: %{libo_version}.2
Release: 2%{?libo_prerelease}%{?dist} Release: 3%{?libo_prerelease}%{?dist}
# default new files are: MPLv2 # default new files are: MPLv2
# older files are typically: MPLv2 incorporating work under ASLv2 # older files are typically: MPLv2 incorporating work under ASLv2
# nlpsolver is: LGPLv3 # nlpsolver is: LGPLv3
@ -324,7 +324,7 @@ Requires: google-crosextra-caladea-fonts, google-crosextra-carlito-fonts
Requires: %{name}-langpack-en = %{epoch}:%{version}-%{release} Requires: %{name}-langpack-en = %{epoch}:%{version}-%{release}
%ifarch %{java_arches} %ifarch %{java_arches}
# rhbz#949106 libreoffice-core drags in both openjdk 1.7.0 and 1.8.0 # rhbz#949106 libreoffice-core drags in both openjdk 1.7.0 and 1.8.0
Requires: java-headless >= 1:1.6 Recommends: java-headless >= 1:1.6
%else %else
Obsoletes: libreoffice-nlpsolver < 1:7.4.0.0 Obsoletes: libreoffice-nlpsolver < 1:7.4.0.0
Obsoletes: libreoffice-officebean < 1:7.4.0.0 Obsoletes: libreoffice-officebean < 1:7.4.0.0
@ -357,6 +357,9 @@ Summary: Database front-end for LibreOffice
%if 0%{?fedora} %if 0%{?fedora}
Requires: firebird Requires: firebird
%endif %endif
%ifarch %{java_arches}
Requires: java-headless >= 1:1.6
%endif
Requires: pentaho-reporting-flow-engine Requires: pentaho-reporting-flow-engine
Requires: postgresql-jdbc Requires: postgresql-jdbc
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release} Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
@ -2250,6 +2253,9 @@ gtk-update-icon-cache -q %{_datadir}/icons/hicolor &>/dev/null || :
%{_includedir}/LibreOfficeKit %{_includedir}/LibreOfficeKit
%changelog %changelog
* Fri Jun 30 2023 Vitaly Zaitsev <vitaly@easycoding.org> - 1:7.5.4.2-3
- Make Java optional. Fixes rhbz#2084071.
* Mon Jun 19 2023 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1:7.5.4.2-2 * Mon Jun 19 2023 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1:7.5.4.2-2
- Backport upstream fix for testSignDocument_PEM_PDF test failure - Backport upstream fix for testSignDocument_PEM_PDF test failure
- Enable test again - Enable test again

Loading…
Cancel
Save