14
0

- Add patch to work with openssl 1.1.0i+:

* openssl-1.1.0i.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyOpenSSL?expand=0&rev=48
This commit is contained in:
Tomáš Chvátal
2018-08-24 09:10:42 +00:00
committed by Git OBS Bridge
parent 071b74d8a2
commit a508fd04ad
3 changed files with 71 additions and 3 deletions

View File

@@ -27,7 +27,8 @@ 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
BuildRequires: %{python_module cryptography >= 2.2.1}
Patch2: openssl-1.1.0i.patch
BuildRequires: %{python_module cryptography >= 2.3.0}
BuildRequires: %{python_module flaky}
BuildRequires: %{python_module pretend}
BuildRequires: %{python_module pytest >= 3.0.1}
@@ -35,7 +36,7 @@ BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: python3-Sphinx
Requires: python-cryptography >= 2.2.1
Requires: python-cryptography >= 2.3.0
Requires: python-six >= 1.5.2
Provides: pyOpenSSL = %{version}
BuildArch: noarch
@@ -63,7 +64,7 @@ Provides documentation for %{name}.
%prep
%setup -q -n pyOpenSSL-%{version}
%patch1 -p1
%autopatch -p1
%build
%python_build