summaryrefslogtreecommitdiffstats
path: root/redhat/applications/koffice/koffice.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/koffice/koffice.spec')
-rw-r--r--redhat/applications/koffice/koffice.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/redhat/applications/koffice/koffice.spec b/redhat/applications/koffice/koffice.spec
index 81bf68605..a27bbc6f0 100644
--- a/redhat/applications/koffice/koffice.spec
+++ b/redhat/applications/koffice/koffice.spec
@@ -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