diff --git a/python-psycopg3.spec b/python-psycopg3.spec index 6e66ee3..294f9a2 100644 --- a/python-psycopg3.spec +++ b/python-psycopg3.spec @@ -8,7 +8,7 @@ Name: python-%{src_name} Version: 3.1.18 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Psycopg 3 is a modern implementation of a PostgreSQL adapter for Python License: LGPL-3.0-only @@ -31,6 +31,10 @@ BuildRequires: python3-anyio python3-mypy pytest python3-pytest-cov python3-pyte # Required for Cython BuildRequires: cython gcc +# Runtime dependency +# https://github.com/psycopg/psycopg/blob/master/README.rst +Requires: libpq + %description Psycopg 3 is a PostgreSQL database adapter for the Python programming language. Psycopg 3 presents a familiar interface for everyone who has used Psycopg 2 or @@ -40,7 +44,7 @@ and Python features. %package -n python3-%{src_name} Summary: %{Summary} -Requires: libpq +BuildArch: noarch %description -n python3-%{src_name} %{description} @@ -48,6 +52,7 @@ Requires: libpq %package -n python3-%{src_name}_pool Summary: Connection pooling for Psycopg 3 Requires: python-%{src_name} +BuildArch: noarch %description -n python3-%{src_name}_pool This package contains the pooling functionality for Psycopg 3. @@ -139,6 +144,10 @@ export PSYCOPG_TEST_DSN="host=$PGHOST port=$PGPORT dbname=${PGTESTS_DATABASES##* %doc psycopg_c/README.rst %changelog +* Wed Apr 3 2024 Ondrej Sloup - 3.1.18-3 +- Confirm libpq require for (rhbz#2266555) +- Fix architectures for specific subpackages (rhbz#2268354) + * Tue Apr 02 2024 Sandro Mani - 3.1.18-2 - Add Requires: libpq (#2266555)