14
0
2024-10-28 21:56:27 +00:00
committed by Git OBS Bridge
parent ea9da937ae
commit 16e3753760
3 changed files with 59 additions and 1 deletions

View File

@@ -24,6 +24,7 @@ Summary: Python-PostgreSQL Database Adapter
License: LGPL-3.0-or-later AND (LGPL-3.0-or-later OR ZPL-2.0) AND SUSE-GPL-2.0-with-openssl-exception
URL: https://www.psycopg.org/
Source: https://files.pythonhosted.org/packages/source/p/psycopg2/psycopg2-%{version}.tar.gz
Patch1: https://github.com/psycopg/psycopg2/commit/3b9aa7cf9f3b000407dc0ee8e77fbcf54fa04d7f.patch#/py313-tests.patch
BuildRequires: %{python_module devel >= 3.7}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
@@ -52,7 +53,7 @@ UPDATEs. psycopg2 also provide asychronous operations and support
for coroutine libraries.
%prep
%setup -q -n psycopg2-%{version}
%autosetup -p1 -n psycopg2-%{version}
%build
export CFLAGS="%{optflags} -fno-strict-aliasing"