forked from pool/python-cryptography
Accepting request 574138 from home:tbechtold:branches:devel:languages:python
- Fix previous change and explicitly require python2 instead of python because python itself is also provided by python3. This fixes: ImportError: No module named _ssl when using python-cryptography in a python2 build environment OBS-URL: https://build.opensuse.org/request/show/574138 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=89
This commit is contained in:
@@ -68,9 +68,9 @@ BuildRequires: %{python_module virtualenv}
|
||||
# /SECTION
|
||||
# python-base is not enough, we need the _ssl module
|
||||
%ifpython2
|
||||
Requires: python
|
||||
Requires: python-enum34
|
||||
Requires: python-ipaddress
|
||||
Requires: python2
|
||||
%endif
|
||||
%ifpython3
|
||||
Requires: python3
|
||||
|
Reference in New Issue
Block a user