diff options
author | François Andriot <[email protected]> | 2022-02-03 16:29:45 +0100 |
---|---|---|
committer | François Andriot <[email protected]> | 2022-02-03 16:50:05 +0100 |
commit | db8d6a2a2c6b3d732363cbc74c0c84da73171b3d (patch) | |
tree | 9e12f9df89aaa6e5aa1e98ba4718992f4131c8bc /redhat/applications | |
parent | f9047ebac3000137c3ce05f56ac6b40a946c72eb (diff) | |
download | tde-packaging-db8d6a2a2c6b3d732363cbc74c0c84da73171b3d.tar.gz tde-packaging-db8d6a2a2c6b3d732363cbc74c0c84da73171b3d.zip |
RPM: fix dependencies to postgresql-devel in koffice and krecipes
Diffstat (limited to 'redhat/applications')
-rw-r--r-- | redhat/applications/koffice/koffice.spec | 4 | ||||
-rw-r--r-- | redhat/applications/krecipes/krecipes.spec | 12 |
2 files changed, 15 insertions, 1 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 diff --git a/redhat/applications/krecipes/krecipes.spec b/redhat/applications/krecipes/krecipes.spec index f2089179a..5e36f7416 100644 --- a/redhat/applications/krecipes/krecipes.spec +++ b/redhat/applications/krecipes/krecipes.spec @@ -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 |