- WIP: pre-release of 0.31.0 tarball and attempts to fix OpenSSL
1.1.1 compatibility. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=65
This commit is contained in:
parent
10a7f1863f
commit
becda8b9cd
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a1b2751cdadc6afac3df8a5799676b7b7c67a6ad144bb62d38563062e7cd3fc6
|
||||
size 1272599
|
3
M2Crypto-0.31.0~pre1.tar.gz
Normal file
3
M2Crypto-0.31.0~pre1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a2b044d3ce9d8beeaebb45c78a89667dae8e146e00238727cf7215841d7bcee8
|
||||
size 1291871
|
10
openssl-1_1_1-compat.patch
Normal file
10
openssl-1_1_1-compat.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- a/tests/test_ssl.py
|
||||
+++ b/tests/test_ssl.py
|
||||
@@ -199,6 +199,7 @@ class HttpslibSSLClientTestCase(BaseSSLC
|
||||
data = six.ensure_text(c2.getresponse().read())
|
||||
c.close()
|
||||
c2.close()
|
||||
+ log.debug('t = %s, t2 = %s', t, t2)
|
||||
self.assertEqual(t, t2, "Sessions did not match")
|
||||
finally:
|
||||
self.stop_server(pid)
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 30 17:12:11 CET 2018 - mcepl@suse.com
|
||||
|
||||
- WIP: pre-release of 0.31.0 tarball and attempts to fix OpenSSL
|
||||
1.1.1 compatibility.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 24 15:14:14 UTC 2018 - Matěj Cepl <mcepl@suse.com>
|
||||
|
||||
|
@ -19,13 +19,14 @@
|
||||
%define oldpython python
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-M2Crypto
|
||||
Version: 0.30.1
|
||||
Version: 0.31.0~pre1
|
||||
Release: 0
|
||||
Summary: Crypto and SSL toolkit for Python
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Url: https://gitlab.com/m2crypto/m2crypto
|
||||
Source: https://files.pythonhosted.org/packages/source/M/M2Crypto/M2Crypto-%{version}.tar.gz
|
||||
Patch0: openssl-1_1_1-compat.patch
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module typing}
|
||||
@ -77,7 +78,9 @@ messenger for Zope.
|
||||
Documentation for the Crypto and SSL toolkit for Python
|
||||
|
||||
%prep
|
||||
%setup -q -n M2Crypto-%{version}
|
||||
# %%setup -q -n M2Crypto-%%{version}
|
||||
%setup -q -n M2Crypto-0.31.0
|
||||
%autopatch -p1
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags}"
|
||||
|
Loading…
Reference in New Issue
Block a user