summaryrefslogtreecommitdiffstats
path: root/redhat/applications/misc/krecipes/krecipes.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/misc/krecipes/krecipes.spec')
-rw-r--r--redhat/applications/misc/krecipes/krecipes.spec9
1 files changed, 2 insertions, 7 deletions
diff --git a/redhat/applications/misc/krecipes/krecipes.spec b/redhat/applications/misc/krecipes/krecipes.spec
index 5609d2f65..e2f5fa46d 100644
--- a/redhat/applications/misc/krecipes/krecipes.spec
+++ b/redhat/applications/misc/krecipes/krecipes.spec
@@ -79,17 +79,12 @@ BuildRequires: brp-check-trinity
BuildRequires: mysql-devel
# POSTGRESQL support
-%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
+%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8 || 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150200
BuildRequires: postgresql-server-devel
%else
BuildRequires: postgresql-devel
%endif
-%endif
# SQLITE support
BuildRequires: sqlite-devel