Accepting request 574139 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/574139 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=36
This commit is contained in:
commit
3e52582a98
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 8 10:54:03 UTC 2018 - tbechtold@suse.com
|
||||||
|
|
||||||
|
- 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
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Feb 3 13:02:06 UTC 2018 - tchvatal@suse.com
|
Sat Feb 3 13:02:06 UTC 2018 - tchvatal@suse.com
|
||||||
|
|
||||||
|
@ -68,9 +68,9 @@ BuildRequires: %{python_module virtualenv}
|
|||||||
# /SECTION
|
# /SECTION
|
||||||
# python-base is not enough, we need the _ssl module
|
# python-base is not enough, we need the _ssl module
|
||||||
%ifpython2
|
%ifpython2
|
||||||
Requires: python
|
|
||||||
Requires: python-enum34
|
Requires: python-enum34
|
||||||
Requires: python-ipaddress
|
Requires: python-ipaddress
|
||||||
|
Requires: python2
|
||||||
%endif
|
%endif
|
||||||
%ifpython3
|
%ifpython3
|
||||||
Requires: python3
|
Requires: python3
|
||||||
|
Loading…
Reference in New Issue
Block a user