From 0ba0e3967da8857cc09673e2a59050aec4d6d856 Mon Sep 17 00:00:00 2001 From: Filip Janus Date: Tue, 14 Jun 2022 15:25:04 +0200 Subject: [PATCH] Build directly with client library - libpq instead of private one (postgresql-private-devel) --- python-psycopg2.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/python-psycopg2.spec b/python-psycopg2.spec index 1e24ff9..2d7f3f9 100644 --- a/python-psycopg2.spec +++ b/python-psycopg2.spec @@ -50,7 +50,7 @@ features offered by PostgreSQL. Summary: %{sum} Name: python-%{srcname} Version: 2.9.3 -Release: 4%{?dist} +Release: 5%{?dist} # The exceptions allow linking to OpenSSL and PostgreSQL's libpq License: LGPLv3+ with exceptions Url: http://initd.org/psycopg/ @@ -63,7 +63,7 @@ Source0: http://initd.org/psycopg/tarballs/PSYCOPG-2-8/psycopg2-%{version}.tar.g %{?with_python3_debug:BuildRequires: python3-debug} BuildRequires: gcc -BuildRequires: pkgconfig(libpq) +BuildRequires: libpq-devel BuildRequires: python-sphinx # For testsuite @@ -311,6 +311,9 @@ done %changelog +* Tue Jun 14 2022 Filip Janus - 2.9.3-5 +- Build directly with libpq-devel + * Mon Jun 13 2022 Python Maint - 2.9.3-4 - Rebuilt for Python 3.11