psycopg3: Add missing BRs. Spotted during mock builds.
authorDevrim Gunduz <devrim@gunduz.org>
Fri, 7 Nov 2025 08:26:38 +0000 (11:26 +0300)
committerDevrim Gunduz <devrim@gunduz.org>
Fri, 7 Nov 2025 08:26:38 +0000 (11:26 +0300)
rpm/redhat/main/common/psycopg3/main/python-psycopg3.spec

index 3b0577a52ec3bbe6f1417b9a619d2b3836ef20ea..cc89483b2b3ba7a558669502992717f89650b2fd 100644 (file)
 Summary:       A PostgreSQL database adapter for Python 3
 Name:          python3-%{sname}
 Version:       3.2.12
-Release:       1PGDG%{?dist}
+Release:       2PGDG%{?dist}
 # The exceptions allow linking to OpenSSL and PostgreSQL's libpq
 License:       LGPLv3+ with exceptions
 Url:           https://psycopg.org
 Source0:       https://github.com/psycopg/psycopg/archive/refs/tags/%{version}.tar.gz
 
-BuildRequires: postgresql%{pgmajorversion}-devel
-BuildRequires: python3-devel
+BuildRequires: postgresql%{pgmajorversion}-devel python3-wheel
+BuildRequires: python3-devel python3-pip python3-setuptools
 %if 0%{?suse_version} >= 1500
 BuildRequires: python-rpm-macros
 %else
-BuildRequires: pyproject-rpm-macros
+BuildRequires: pyproject-rpm-macros pyproject-srpm-macros
 %endif
 
 Requires:      libpq5 >= 10.0
@@ -145,6 +145,9 @@ fi
 %endif
 
 %changelog
+* Fri Nov 7 2025 Devrim Gündüz <devrim@gunduz.org> - 3.2.12-2PGDG
+- Add missing BRs. Spotted during mock builds.
+
 * Mon Oct 27 2025 Devrim Gündüz <devrim@gunduz.org> - 3.2.12-1PGDG
 - Update to 3.2.12 per changes described at:
   https://github.com/psycopg/psycopg/releases/tag/3.2.12