upgrade to 2.9.3

This commit is contained in:
kkz 2022-08-03 14:29:49 +08:00
parent 0ade58084a
commit fd988c15e2
3 changed files with 6 additions and 4 deletions

Binary file not shown.

BIN
2_9_3.tar.gz Normal file

Binary file not shown.

View File

@ -8,8 +8,8 @@
%bcond_with tests %bcond_with tests
%endif %endif
Name: python-psycopg2 Name: python-psycopg2
Version: 2.8.6 Version: 2.9.3
Release: 2 Release: 1
Summary: PostgreSQL database adapter for the Python programming language Summary: PostgreSQL database adapter for the Python programming language
License: GPL-3.0-only and LGPL-3.0-only License: GPL-3.0-only and LGPL-3.0-only
URL: http://www.psycopg.org/psycopg/ URL: http://www.psycopg.org/psycopg/
@ -109,7 +109,6 @@ cp -r tests/ %{buildroot}%{python3_sitearch}/psycopg2/tests/
for i in `find %{buildroot}%{python3_sitearch}/psycopg2/tests/ -iname "*.py"`; do for i in `find %{buildroot}%{python3_sitearch}/psycopg2/tests/ -iname "*.py"`; do
sed -i 's|#!/usr/bin/env python|#!/usr/bin/python3|' $i sed -i 's|#!/usr/bin/env python|#!/usr/bin/python3|' $i
done done
%{?with_python3:rm -r %{buildroot}%{python3_sitearch}/psycopg2/tests/test_async_keyword.py}
%files -n python3-psycopg2 %files -n python3-psycopg2
@ -128,13 +127,16 @@ done
%files -n python3-psycopg2-debug %files -n python3-psycopg2-debug
%license LICENSE %license LICENSE
%{python3_sitearch}/psycopg2/_psycopg.cpython-3??d*.so %{python3_sitearch}/psycopg2/_psycopg.cpython-3*d*.so
%files doc %files doc
%license LICENSE %license LICENSE
%doc doc %doc doc
%changelog %changelog
* Wed Aug 03 2022 kkz <zhaoshuang@uniontech.com> -2.9.3-1
- update to 2.9.3
* Sat May 07 2022 renxichen <renhongxun@h-partnsers.com> - 2.8.6-2 * Sat May 07 2022 renxichen <renhongxun@h-partnsers.com> - 2.8.6-2
- fix packaging error on _psycopg.cpython-*.so - fix packaging error on _psycopg.cpython-*.so