Compare commits
10 Commits
0ade58084a
...
7548ae00ec
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7548ae00ec | ||
|
|
2513d6eab9 | ||
|
|
751ade7bca | ||
|
|
3b2ff8d78b | ||
|
|
603fe5e711 | ||
|
|
aff8afa812 | ||
|
|
3b2516826b | ||
|
|
533be03ecc | ||
|
|
d5d8f76247 | ||
|
|
fd988c15e2 |
BIN
2_8_6.tar.gz
BIN
2_8_6.tar.gz
Binary file not shown.
BIN
psycopg2-2.9.9.tar.gz
Normal file
BIN
psycopg2-2.9.9.tar.gz
Normal file
Binary file not shown.
@ -8,12 +8,12 @@
|
|||||||
%bcond_with tests
|
%bcond_with tests
|
||||||
%endif
|
%endif
|
||||||
Name: python-psycopg2
|
Name: python-psycopg2
|
||||||
Version: 2.8.6
|
Version: 2.9.9
|
||||||
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/
|
||||||
Source0: https://github.com/psycopg/psycopg2/archive/%{release_version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/p/psycopg2/psycopg2-%{version}.tar.gz
|
||||||
|
|
||||||
%global desc Psycopg is the most popular PostgreSQL adapter for the Python \
|
%global desc Psycopg is the most popular PostgreSQL adapter for the Python \
|
||||||
programming language. Its core is a complete implementation of the Python DB \
|
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
|
%package -n python3-psycopg2
|
||||||
Summary: %{summary}
|
Summary: %{summary}
|
||||||
%{?python_provide:%python_provide python3-psycopg2}
|
%{?python_provide:%python_provide python3-psycopg2 python3-psycopg2-binary}
|
||||||
|
|
||||||
%description -n python3-psycopg2
|
%description -n python3-psycopg2
|
||||||
%{desc}
|
%{desc}
|
||||||
@ -73,7 +73,7 @@ Documentation and example files for the psycopg python PostgreSQL
|
|||||||
database adapter.
|
database adapter.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n psycopg2-%{release_version}
|
%autosetup -p1 -n psycopg2-%{version}
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -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,28 @@ 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
|
||||||
|
* 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
|
* 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
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user