diff --git a/psycopg2-2.8.6.tar.gz b/psycopg2-2.8.6.tar.gz deleted file mode 100644 index 04344dca08534ea0f0b134b37a6df0b317255ba3..0000000000000000000000000000000000000000 Binary files a/psycopg2-2.8.6.tar.gz and /dev/null differ diff --git a/psycopg2-2.9.4.tar.gz b/psycopg2-2.9.4.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..939b524e95f8589198c0d2ba65abc0dcfa4d6915 Binary files /dev/null and b/psycopg2-2.9.4.tar.gz differ diff --git a/python-psycopg2.spec b/python-psycopg2.spec index 51babe1321636669c76340bde24f0ddea896f941..d8c94b5648bb1551b5adfca4fdcfd416fc6384ac 100644 --- a/python-psycopg2.spec +++ b/python-psycopg2.spec @@ -1,5 +1,4 @@ %global selfcheck 0 -%define release_version %(echo %{version} | awk -F. '{print $1"_"$2"_"$3}') %bcond_without python3 %bcond_without python3_debug %if 0%{?selfcheck} @@ -8,12 +7,12 @@ %bcond_with tests %endif Name: python-psycopg2 -Version: 2.8.6 -Release: 2 +Version: 2.9.4 +Release: 1 Summary: PostgreSQL database adapter for the Python programming language License: GPL-3.0-only and LGPL-3.0-only URL: http://www.psycopg.org/psycopg/ -Source0: https://files.pythonhosted.org/packages/source/p/psycopg2/psycopg2-%{version}.tar.gz +Source0: https://files.pythonhosted.org/packages/8d/d7/277e23b708a0429b6b3d50e86e52b791156dfbfa81917d34ef6d7b435b84/psycopg2-2.9.4.tar.gz %global desc Psycopg is the most popular PostgreSQL adapter for the Python \ programming language. Its core is a complete implementation of the Python DB \ @@ -109,7 +108,6 @@ cp -r tests/ %{buildroot}%{python3_sitearch}/psycopg2/tests/ for i in `find %{buildroot}%{python3_sitearch}/psycopg2/tests/ -iname "*.py"`; do sed -i 's|#!/usr/bin/env python|#!/usr/bin/python3|' $i done -%{?with_python3:rm -r %{buildroot}%{python3_sitearch}/psycopg2/tests/test_async_keyword.py} %files -n python3-psycopg2 @@ -117,7 +115,7 @@ done %doc AUTHORS NEWS README.rst %dir %{python3_sitearch}/psycopg2 %{python3_sitearch}/psycopg2/*.py -%{python3_sitearch}/psycopg2/_psycopg.cpython-3?[!d]*.so +%{python3_sitearch}/psycopg2/_psycopg.cpython-3??[!d]*.so %dir %{python3_sitearch}/psycopg2/__pycache__ %{python3_sitearch}/psycopg2/__pycache__/*.py{c,o} %{python3_sitearch}/psycopg2-%{version}-py3*.egg-info @@ -128,12 +126,16 @@ done %files -n python3-psycopg2-debug %license LICENSE +%{python3_sitearch}/psycopg2/_psycopg.cpython-3??d*.so %files doc %license LICENSE %doc doc %changelog +* Tue Nov 12 2024 tzing_t - 2.9.4-1 +- upgrade to 2.9.4, resolve openstack-senline build error + * Wed Nov 06 2024 tzing_t - 2.8.6-2 - Fix build error