upgrade to 4.3.3

This commit is contained in:
chen-jan 2023-05-18 11:33:58 +08:00
parent 33be4bc74c
commit 58cc564bcf
3 changed files with 12 additions and 11 deletions

Binary file not shown.

BIN
pymongo-4.3.3.tar.gz Normal file

Binary file not shown.

View File

@ -1,14 +1,14 @@
Name: python-pymongo Name: python-pymongo
Version: 4.0 Version: 4.3.3
Release: 1 Release: 1
License: Apache License 2.0 License: Apache License 2.0
Summary: PyMongo - the Python driver for MongoDB Summary: PyMongo - the Python driver for MongoDB
URL: https://github.com/mongodb/mongo-python-driver URL: https://github.com/mongodb/mongo-python-driver
Source0: https://files.pythonhosted.org/packages/76/53/5699ae682e600fd9816934ccaf3d0898b4782c00a24700c802c637b5373a/pymongo-4.0.tar.gz Source0: %{pypi_source pymongo}
# Patch01: 0001-Use-ssl.match_hostname-from-the-Python-stdlib.patch # Patch01: 0001-Use-ssl.match_hostname-from-the-Python-stdlib.patch
BuildRequires: python3-devel python3-setuptools BuildRequires: python3-devel python3-setuptools
BuildRequires: python3-sphinx gcc BuildRequires: python3-sphinx gcc python3-pip python3-dns
%global _description \ %global _description \
The PyMongo distribution contains tools for interacting with \ The PyMongo distribution contains tools for interacting with \
@ -26,7 +26,7 @@ This package is an implementation of the BSON format for Python 3 version.
%package -n python3-pymongo %package -n python3-pymongo
Summary: Python driver for MongoDB Summary: Python driver for MongoDB
Requires: python3-bson%{?_isa} = %{version}-%{release} Requires: python3-bson = %{version}-%{release}
%{?python_provide:%python_provide python3-pymongo} %{?python_provide:%python_provide python3-pymongo}
%description -n python3-pymongo %{_description} %description -n python3-pymongo %{_description}
@ -34,7 +34,7 @@ This package is a native Python 3 version driver for MongoDB.
%package -n python3-pymongo-gridfs %package -n python3-pymongo-gridfs
Summary: Python GridFS driver for MongoDB Summary: Python GridFS driver for MongoDB
Requires: python3-pymongo%{?_isa} = %{version}-%{release} Requires: python3-pymongo = %{version}-%{release}
%{?python_provide:%python_provide python3-pymongo-gridfs} %{?python_provide:%python_provide python3-pymongo-gridfs}
%description -n python3-pymongo-gridfs %{_description} %description -n python3-pymongo-gridfs %{_description}
@ -56,14 +56,12 @@ The PyMongo distribution contains tools for interacting with MongoDB database fr
%build %build
%py3_build %py3_build
PYTHONPATH=${PYTHONPATH}:/usr/local/lib64/python3.8/site-packages:/usr/local/lib/python3.8/site-packages %{__python3} setup.py doc
%install %install
%py3_install %py3_install
install -d -m755 %{buildroot}/%{_pkgdocdir} chmod 755 %{buildroot}%{python3_sitearch}/bson/*.so
cp -arf doc/_build/%{version}/* %{buildroot}/%{_pkgdocdir} chmod 755 %{buildroot}%{python3_sitearch}/pymongo/*.so
%check %check
python3 setup.py test python3 setup.py test
@ -82,9 +80,12 @@ python3 setup.py test
%{python3_sitearch}/gridfs %{python3_sitearch}/gridfs
%files help %files help
%{_pkgdocdir} %{_docdir}/python3-pymongo
%changelog %changelog
* Thu May 18 2023 chenchen <chen_aka_jan@163.com> - 4.3.3-1
- upgrade to 4.3.3
* Sun Jul 24 2022 liksh <liks11@chinaunicom.com.cn> - 4.0-1 * Sun Jul 24 2022 liksh <liks11@chinaunicom.com.cn> - 4.0-1
- upgrade to 4.0 for openstack yoga - upgrade to 4.0 for openstack yoga