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
|
%bcond_with tests
|
||||||
%endif
|
%endif
|
||||||
Name: python-psycopg2
|
Name: python-psycopg2
|
||||||
Version: 2.9.9
|
Version: 2.8.6
|
||||||
Release: 1
|
Release: 2
|
||||||
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://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 \
|
%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 python3-psycopg2-binary}
|
%{?python_provide:%python_provide python3-psycopg2}
|
||||||
|
|
||||||
%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-%{version}
|
%autosetup -p1 -n psycopg2-%{release_version}
|
||||||
|
|
||||||
|
|
||||||
%build
|
%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
|
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
|
||||||
@ -127,28 +128,13 @@ 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