Confirm libpq require for (rhbz#2266555) and Fix architectures for specific subpackages (rhbz#2268354)
This commit is contained in:
parent
7668bb5bf6
commit
bcb75373f9
@ -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 <osloup@redhat.com> - 3.1.18-3
|
||||
- Confirm libpq require for (rhbz#2266555)
|
||||
- Fix architectures for specific subpackages (rhbz#2268354)
|
||||
|
||||
* Tue Apr 02 2024 Sandro Mani <manisandro@gmail.com> - 3.1.18-2
|
||||
- Add Requires: libpq (#2266555)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user