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