Compare commits
No commits in common. "7548ae00ecd356db087c519e2149db16dbab40f7" and "0ade58084aeb7ab1507625cf9abc23340feeb268" have entirely different histories.
7548ae00ec
...
0ade58084a
BIN
2_8_6.tar.gz
Normal file
BIN
2_8_6.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
@ -8,12 +8,12 @@
|
||||
%bcond_with tests
|
||||
%endif
|
||||
Name: python-psycopg2
|
||||
Version: 2.9.9
|
||||
Release: 1
|
||||
Version: 2.8.6
|
||||
Release: 2
|
||||
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://github.com/psycopg/psycopg2/archive/%{release_version}.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 \
|
||||
@ -40,7 +40,7 @@ Conflicts: python-psycopg2-zope < %{version}
|
||||
|
||||
%package -n python3-psycopg2
|
||||
Summary: %{summary}
|
||||
%{?python_provide:%python_provide python3-psycopg2 python3-psycopg2-binary}
|
||||
%{?python_provide:%python_provide python3-psycopg2}
|
||||
|
||||
%description -n python3-psycopg2
|
||||
%{desc}
|
||||
@ -73,7 +73,7 @@ Documentation and example files for the psycopg python PostgreSQL
|
||||
database adapter.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n psycopg2-%{version}
|
||||
%autosetup -p1 -n psycopg2-%{release_version}
|
||||
|
||||
|
||||
%build
|
||||
@ -109,6 +109,7 @@ 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
|
||||
@ -127,28 +128,13 @@ done
|
||||
|
||||
%files -n python3-psycopg2-debug
|
||||
%license LICENSE
|
||||
%{python3_sitearch}/psycopg2/_psycopg.cpython-3*d*.so
|
||||
%{python3_sitearch}/psycopg2/_psycopg.cpython-3??d*.so
|
||||
|
||||
%files doc
|
||||
%license LICENSE
|
||||
%doc doc
|
||||
|
||||
%changelog
|
||||
* Sat Feb 17 2024 xu_ping <707078654@qq.com> - 2.9.9-1
|
||||
- Update package to version 2.9.9
|
||||
|
||||
* Tue Apr 4 2023 wubijie <wubijie@kylinos.cn> - 2.9.6-1
|
||||
- Update package to version 2.9.6
|
||||
|
||||
* Wed Mar 01 2023 wangxiyuan <wangxiyuan1007@gmail.com> - 2.9.5-2
|
||||
- Add python3-psycopg2-binary provide
|
||||
|
||||
* Wed Nov 09 2022 jiangxinyu <jiangxinyu@kylinos.cn> - 2.9.5-1
|
||||
- Upgrade package to version 2.9.5
|
||||
|
||||
* 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
|
||||
- fix packaging error on _psycopg.cpython-*.so
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user