RPM: fix dependencies to postgresql-devel in koffice and krecipes

pull/115/head
François Andriot 3 years ago
parent 005cac842e
commit 5b58ce0a4a

@ -218,10 +218,14 @@ BuildRequires: trinity-poppler-devel >= 0.12
%if 0%{?mdkversion} || 0%{?fedora} || 0%{?suse_version}
%if 0%{?suse_version} != 1500 && 0%{?suse_version} != 1550 && 0%{?pclinuxos} == 0
%define with_postgresql 1
%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8
BuildRequires: postgresql-server-devel
%else
BuildRequires: postgresql-devel
BuildRequires: libpqxx-devel
%endif
%endif
%endif
Obsoletes: trinity-libpqxx < %{?epoch:%{epoch}:}%{version}-%{release}
# WPD support

@ -79,7 +79,17 @@ BuildRequires: brp-check-trinity
BuildRequires: mysql-devel
# POSTGRESQL support
BuildRequires: postgresql-devel
%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150200
BuildRequires: postgresql10
BuildRequires: postgresql10-devel
%else
BuildRequires: postgresql
%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8
BuildRequires: postgresql-server-devel
%else
BuildRequires: postgresql-devel
%endif
%endif
# SQLITE support
BuildRequires: sqlite-devel

Loading…
Cancel
Save