Accepting request 572222 from devel:languages:python

- Fix the previous change to not pull in py2 on py3 enviroment

- fix requires on python ssl once more after the last change

OBS-URL: https://build.opensuse.org/request/show/572222
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=35
This commit is contained in:
Dominique Leuenberger 2018-02-06 15:41:13 +00:00 committed by Git OBS Bridge
commit a259001231
2 changed files with 14 additions and 1 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Sat Feb 3 13:02:06 UTC 2018 - tchvatal@suse.com
- Fix the previous change to not pull in py2 on py3 enviroment
-------------------------------------------------------------------
Sat Jan 27 11:25:02 UTC 2018 - dmueller@suse.com
- fix requires on python ssl once more after the last change
-------------------------------------------------------------------
Thu Jan 18 13:30:12 UTC 2018 - tchvatal@suse.com

View File

@ -66,12 +66,15 @@ BuildRequires: %{python_module pyasn1 >= 0.1.8}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module virtualenv}
# /SECTION
%ifpython2
# python-base is not enough, we need the _ssl module
%ifpython2
Requires: python
Requires: python-enum34
Requires: python-ipaddress
%endif
%ifpython3
Requires: python3
%endif
%python_subpackages
%description