summaryrefslogtreecommitdiffstats
path: root/redhat/applications/koffice
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2022-02-03 16:29:45 +0100
committerFrançois Andriot <albator78@libertysurf.fr>2022-02-03 16:50:05 +0100
commitdb8d6a2a2c6b3d732363cbc74c0c84da73171b3d (patch)
tree9e12f9df89aaa6e5aa1e98ba4718992f4131c8bc /redhat/applications/koffice
parentf9047ebac3000137c3ce05f56ac6b40a946c72eb (diff)
downloadtde-packaging-db8d6a2a2c6b3d732363cbc74c0c84da73171b3d.tar.gz
tde-packaging-db8d6a2a2c6b3d732363cbc74c0c84da73171b3d.zip
RPM: fix dependencies to postgresql-devel in koffice and krecipes
Diffstat (limited to 'redhat/applications/koffice')
-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 316653957..cd7f34018 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