!3 update to 7.43.0.3

Merge pull request !3 from 桐小哥/openEuler-20.03-LTS
This commit is contained in:
openeuler-ci-bot 2020-08-10 17:55:49 +08:00 committed by Gitee
commit a4ab78d3e0
4 changed files with 12 additions and 11 deletions

View File

@ -11,11 +11,10 @@ Bug: https://bugzilla.redhat.com/1446850
src/module.c | 20 +-------------------
1 file changed, 1 insertion(+), 19 deletions(-)
diff --git a/src/module.c b/src/module.c
index a7108a0..af79875 100644
--- a/src/module.c
+++ b/src/module.c
@@ -322,7 +322,7 @@ initpycurl(void)
diff -Naur a/src/module.c b/src/module.c
--- a/src/module.c 2019-06-17 13:14:58.000000000 +0800
+++ b/src/module.c 2020-08-10 11:38:34.177355327 +0800
@@ -322,7 +322,7 @@
{
PyObject *m, *d;
const curl_version_info_data *vi;
@ -24,7 +23,7 @@ index a7108a0..af79875 100644
size_t libcurl_version_len, pycurl_version_len;
PyObject *xio_module = NULL;
PyObject *collections_module = NULL;
@@ -345,24 +345,6 @@ initpycurl(void)
@@ -345,26 +345,6 @@
goto error;
}
@ -38,6 +37,8 @@ index a7108a0..af79875 100644
- runtime_ssl_lib = "gnutls";
- } else if (!strncmp(vi->ssl_version, "NSS/", 4)) {
- runtime_ssl_lib = "nss";
- } else if (!strncmp(vi->ssl_version, "mbedTLS/", 8)) {
- runtime_ssl_lib = "mbedtls";
- } else {
- runtime_ssl_lib = "none/other";
- }
@ -49,6 +50,3 @@ index a7108a0..af79875 100644
/* Initialize the type of the new type objects here; doing it here
* is required for portability to Windows without requiring C++. */
p_Curl_Type = &Curl_Type;
--
2.10.2

Binary file not shown.

BIN
pycurl-7.43.0.3.tar.gz Normal file

Binary file not shown.

View File

@ -5,8 +5,8 @@
%global libcurl_ver %(sed %{libcurl_sed} %{curlver_h} 2>/dev/null || echo 0)
Name: python-pycurl
Version: 7.43.0.2
Release: 6
Version: 7.43.0.3
Release: 1
Summary: A Python interface to libcurl
License: LGPLv2+ or MIT
URL: http://pycurl.sourceforge.net/
@ -124,6 +124,9 @@ rm -fv tests/fake-curl/libcurl/*.so
%{python3_sitearch}/pycurl-%{version}-*.egg-info
%changelog
* Mon Aug 10 2020 shixuantong <shixuantong@huawei.com> - 7.43.0.3-1
- update to 7.43.0.3
* Fri Oct 25 2019 openEuler Buildteam <buildteam@openeuler.org> - 7.43.0.2-6
- optimize spec file.