From 4a0574905964b47cde85079d14f92d983f939be7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Tue, 1 Dec 2020 11:23:47 +0000 Subject: [PATCH] support firebird for fedora only --- libreoffice.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/libreoffice.spec b/libreoffice.spec index fdfa39f..4e0e292 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -125,7 +125,9 @@ BuildRequires: %{libo_python}-devel BuildRequires: boost-devel BuildRequires: cups-devel BuildRequires: fontpackages-devel +%if 0%{?fedora} BuildRequires: firebird-devel +%endif BuildRequires: glm-devel BuildRequires: hyphen-devel BuildRequires: libjpeg-turbo-devel @@ -335,7 +337,9 @@ to be written in python. %package base Summary: Database front-end for LibreOffice +%if 0%{?fedora} Requires: firebird +%endif Requires: pentaho-reporting-flow-engine Requires: postgresql-jdbc Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release} @@ -1065,7 +1069,7 @@ export CFLAGS=$ARCH_FLAGS export CXXFLAGS=$ARCH_FLAGS %if 0%{?rhel} -%define distrooptions --disable-eot --disable-scripting-beanshell --disable-scripting-javascript +%define distrooptions --disable-eot --disable-scripting-beanshell --disable-scripting-javascript --disable-firebird-sdbc %else # fedora %define distrooptions --enable-eot --enable-kf5 @@ -1866,7 +1870,9 @@ rm -f %{buildroot}%{baseinstdir}/program/classes/smoketest.jar %endif %{baseinstdir}/program/libabplo.so %{baseinstdir}/program/libdbplo.so +%if 0%{?fedora} %{baseinstdir}/program/libfirebird_sdbclo.so +%endif %{baseinstdir}/program/libhsqldb.so %{baseinstdir}/program/librptlo.so %{baseinstdir}/program/librptuilo.so