From 2a4d5cee7f73d2334dc5adc5321a214096700d97218eadd442bf4f695c1aa019 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 19 May 2020 06:17:20 +0000 Subject: [PATCH] - Sort out the syntax of the deps bsc#1171213 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg2?expand=0&rev=78 --- python-psycopg2.changes | 5 +++++ python-psycopg2.spec | 9 +++------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/python-psycopg2.changes b/python-psycopg2.changes index 3924861..cc291eb 100644 --- a/python-psycopg2.changes +++ b/python-psycopg2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue May 19 06:16:56 UTC 2020 - Tomáš Chvátal + +- Sort out the syntax of the deps bsc#1171213 + ------------------------------------------------------------------- Thu Apr 23 16:13:29 UTC 2020 - Marcus Rueckert diff --git a/python-psycopg2.spec b/python-psycopg2.spec index 4dab476..5e06859 100644 --- a/python-psycopg2.spec +++ b/python-psycopg2.spec @@ -27,17 +27,14 @@ Source: https://files.pythonhosted.org/packages/source/p/psycopg2/psycop BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes +BuildRequires: python-rpm-macros # newer postgresql packages pg_config in -server-devel -%if ( 0%{?sle_version} > 150100 && 0%{?is_opensuse} ) || 0%{?suse_version} > 1500 +%if 0%{?sle_version} > 150100 || 0%{?suse_version} > 1500 BuildRequires: postgresql-server-devel >= 9.1 %else BuildRequires: postgresql-devel >= 9.1 %endif -BuildRequires: python-rpm-macros -%if 0%{?suse_version} > 1500 -BuildRequires: postgresql-server-devel -%endif -%if 0%{?suse_version} >= 1000 || 0%{?fedora_version} >= 24 +%if 0%{?suse_version} || 0%{?fedora_version} >= 24 Suggests: postgresql-server %endif %python_subpackages