diff --git a/0002-python-pycurl-7.43.0-tls-backend.patch b/0002-python-pycurl-7.43.0-tls-backend.patch index 1d6da04f2050da51baa77e56bfef3dda0374dd49..8eb9f5d9aca003350d6065039eac98c3b5362a26 100644 --- a/0002-python-pycurl-7.43.0-tls-backend.patch +++ b/0002-python-pycurl-7.43.0-tls-backend.patch @@ -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 - diff --git a/pycurl-7.43.0.2.tar.gz b/pycurl-7.43.0.2.tar.gz deleted file mode 100644 index a699163934b49692577a4262e887846e02ccf5fd..0000000000000000000000000000000000000000 Binary files a/pycurl-7.43.0.2.tar.gz and /dev/null differ diff --git a/pycurl-7.43.0.3.tar.gz b/pycurl-7.43.0.3.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..821118e51bed9759b0335935930de3e3f57025c7 Binary files /dev/null and b/pycurl-7.43.0.3.tar.gz differ diff --git a/python-pycurl.spec b/python-pycurl.spec index 55fded7cdf967020a4f28ab5ffaca45780fe12c3..ef124163695167cdd2404fb2579d73f8086771e4 100644 --- a/python-pycurl.spec +++ b/python-pycurl.spec @@ -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 - 7.43.0.3-1 +- update to 7.43.0.3 + * Fri Oct 25 2019 openEuler Buildteam - 7.43.0.2-6 - optimize spec file.