17
0

- update to 19.0

- fixed build deps.
- drop patches: openssl-1.1.0i.patch
                openssl-1.1.1.patch
                opensuse_ca.patch
                tls13-renegotiation.patch
 * X509Store.add_cert no longer raises an error if you add a duplicate cert.
 * pyOpenSSL now works with OpenSSL 1.1.1.
 * pyOpenSSL now handles NUL bytes in X509Name.get_components()

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyOpenSSL?expand=0&rev=58
This commit is contained in:
2019-03-02 16:33:31 +00:00
committed by Git OBS Bridge
parent 37812ff269
commit a3822317a2
8 changed files with 58 additions and 282 deletions

View File

@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define oldpython python
Name: python-pyOpenSSL
Version: 18.0.0
Version: 19.0.0
Release: 0
Summary: Python wrapper module around the OpenSSL library
License: Apache-2.0
@@ -27,16 +27,16 @@ Group: Development/Languages/Python
URL: https://github.com/pyca/pyopenssl
Source: https://files.pythonhosted.org/packages/source/p/pyOpenSSL/pyOpenSSL-%{version}.tar.gz
Patch1: skip-networked-test.patch
Patch2: openssl-1.1.0i.patch
Patch3: openssl-1.1.1.patch
Patch4: tls13-renegotiation.patch
BuildRequires: %{python_module cffi}
BuildRequires: %{python_module cryptography >= 2.3.0}
BuildRequires: %{python_module flaky}
BuildRequires: %{python_module pretend}
BuildRequires: %{python_module pytest >= 3.0.1}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
BuildRequires: ca-certificates-mozilla
BuildRequires: fdupes
BuildRequires: openssl
BuildRequires: python-rpm-macros
Requires: python-cffi
Requires: python-cryptography >= 2.3.0
@@ -61,6 +61,7 @@ other things) a cffi-based interface to OpenSSL.
%prep
%setup -q -n pyOpenSSL-%{version}
%autopatch -p1
/usr/lib/ca-certificates/update.d/99certbundle.run
%build
%python_build