!15 upgrade package for openstack yoga
From: @liksh Reviewed-by: @ruebb Signed-off-by: @ruebb
This commit is contained in:
commit
33be4bc74c
@ -1,13 +0,0 @@
|
||||
diff --git a/pymongo/pool.py b/pymongo/pool.py
|
||||
index 9aed758..be87816 100644
|
||||
--- a/pymongo/pool.py
|
||||
+++ b/pymongo/pool.py
|
||||
@@ -61,7 +61,7 @@ from pymongo.read_preferences import ReadPreference
|
||||
from pymongo.server_type import SERVER_TYPE
|
||||
from pymongo.socket_checker import SocketChecker
|
||||
# Always use our backport so we always have support for IP address matching
|
||||
-from pymongo.ssl_match_hostname import match_hostname
|
||||
+from ssl import match_hostname
|
||||
|
||||
# For SNI support. According to RFC6066, section 3, IPv4 and IPv6 literals are
|
||||
# not permitted for SNI hostname.
|
||||
Binary file not shown.
BIN
pymongo-4.0.tar.gz
Normal file
BIN
pymongo-4.0.tar.gz
Normal file
Binary file not shown.
@ -1,11 +1,11 @@
|
||||
Name: python-pymongo
|
||||
Version: 3.11.3
|
||||
Version: 4.0
|
||||
Release: 1
|
||||
License: Apache License 2.0
|
||||
Summary: PyMongo - the Python driver for MongoDB
|
||||
URL: https://github.com/mongodb/mongo-python-driver
|
||||
Source0: https://files.pythonhosted.org/packages/72/82/e7196f2f69318dd206db26db68fcfa0ff821d88fbca6d0f0c7b678ba0353/pymongo-3.11.3.tar.gz
|
||||
Patch01: 0001-Use-ssl.match_hostname-from-the-Python-stdlib.patch
|
||||
Source0: https://files.pythonhosted.org/packages/76/53/5699ae682e600fd9816934ccaf3d0898b4782c00a24700c802c637b5373a/pymongo-4.0.tar.gz
|
||||
# Patch01: 0001-Use-ssl.match_hostname-from-the-Python-stdlib.patch
|
||||
|
||||
BuildRequires: python3-devel python3-setuptools
|
||||
BuildRequires: python3-sphinx gcc
|
||||
@ -50,8 +50,8 @@ The PyMongo distribution contains tools for interacting with MongoDB database fr
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -n pymongo-3.11.3 -p1
|
||||
rm pymongo/ssl_match_hostname.py
|
||||
%autosetup -n pymongo-%{version} -p1
|
||||
# rm pymongo/ssl_match_hostname.py
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
@ -85,6 +85,9 @@ python3 setup.py test
|
||||
%{_pkgdocdir}
|
||||
|
||||
%changelog
|
||||
* Sun Jul 24 2022 liksh <liks11@chinaunicom.com.cn> - 4.0-1
|
||||
- upgrade to 4.0 for openstack yoga
|
||||
|
||||
* Fri Aug 06 2021 OpenStack_SIG <openstack@openeuler.org> - 3.11.3-1
|
||||
- Update version to 3.11.3
|
||||
|
||||
@ -94,7 +97,7 @@ python3 setup.py test
|
||||
* Wed Oct 21 2020 chengzihan <chengzihan2@huawei.com> - 3.9.0-4
|
||||
- Remove subpackage python2-bson, python2-pymongo, python2-pymongo-gridfs
|
||||
|
||||
* Thu 10 2020 liuweibo <liuweibo10@huawei.com> - 3.9.0-3
|
||||
* Wed Oct 21 2020 liuweibo <liuweibo10@huawei.com> - 3.9.0-3
|
||||
- Fix Source0
|
||||
|
||||
* Fri Feb 21 2020 shanshishi <shanshishi@huawei.com> - 3.9.0-2
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user