forked from pool/python-pyOpenSSL
Accepting request 671988 from home:frispete:python
By now, the cffi dependency is fullfilled by chance, but back than, I managed a situation, where pyOpenSSL was installed, but dysfunctional, because cffi was missing... - add local-intersphinx-inventories.patch for generating the docs correctly - add fetch-intersphinx-inventories.sh to fetch the inventories - add missing python-cffi dependency OBS-URL: https://build.opensuse.org/request/show/671988 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyOpenSSL?expand=0&rev=54
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pyOpenSSL
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -26,10 +26,14 @@ License: Apache-2.0
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/pyca/pyopenssl
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pyOpenSSL/pyOpenSSL-%{version}.tar.gz
|
||||
Source1: python3.inv
|
||||
Source2: crypto.inv
|
||||
Patch1: skip-networked-test.patch
|
||||
Patch2: openssl-1.1.0i.patch
|
||||
Patch3: openssl-1.1.1.patch
|
||||
Patch4: tls13-renegotiation.patch
|
||||
Patch5: local-intersphinx-inventories.patch
|
||||
BuildRequires: %{python_module cffi}
|
||||
BuildRequires: %{python_module cryptography >= 2.3.0}
|
||||
BuildRequires: %{python_module flaky}
|
||||
BuildRequires: %{python_module pretend}
|
||||
@@ -38,6 +42,7 @@ BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: python3-Sphinx
|
||||
Requires: python-cffi
|
||||
Requires: python-cryptography >= 2.3.0
|
||||
Requires: python-six >= 1.5.2
|
||||
Provides: pyOpenSSL = %{version}
|
||||
@@ -68,6 +73,10 @@ Provides documentation for %{name}.
|
||||
%setup -q -n pyOpenSSL-%{version}
|
||||
%autopatch -p1
|
||||
|
||||
# prepare local intersphinx inventories, fetch with fetch-intersphinx-inventories.sh
|
||||
cp -v %{S:1} doc/
|
||||
cp -v %{S:2} doc/
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
|
Reference in New Issue
Block a user