From 02163b7a5dd2170bdf9f8ba6e2d224f31ce11805746c4ec8c4b9357405d0361b Mon Sep 17 00:00:00 2001 From: Todd R Date: Tue, 2 Apr 2019 16:47:19 +0000 Subject: [PATCH] Accepting request 690713 from home:TheBlackCat:branches:devel:languages:python - Requires postgresql-server-devel on Factory now. OBS-URL: https://build.opensuse.org/request/show/690713 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg2?expand=0&rev=62 --- python-psycopg2.changes | 5 +++++ python-psycopg2.spec | 3 +++ 2 files changed, 8 insertions(+) diff --git a/python-psycopg2.changes b/python-psycopg2.changes index 54e567a..12eacba 100644 --- a/python-psycopg2.changes +++ b/python-psycopg2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Apr 2 16:43:30 UTC 2019 - Todd R + +- Requires postgresql-server-devel on Factory now. + ------------------------------------------------------------------- Mon Mar 4 12:13:19 UTC 2019 - Tomáš Chvátal diff --git a/python-psycopg2.spec b/python-psycopg2.spec index 1f7cb72..05b42a6 100644 --- a/python-psycopg2.spec +++ b/python-psycopg2.spec @@ -29,6 +29,9 @@ BuildRequires: %{python_module devel} BuildRequires: fdupes BuildRequires: postgresql-devel >= 9.1 BuildRequires: python-rpm-macros +%if 0%{?suse_version} > 1500 +BuildRequires: postgresql-server-devel +%endif %if 0%{?suse_version} >= 1000 || 0%{?fedora_version} >= 24 Suggests: postgresql-server %endif