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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=87
This commit is contained in:
Tomáš Chvátal 2018-02-03 13:02:25 +00:00 committed by Git OBS Bridge
parent bfe5405542
commit 7b58b3cbbf
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
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

View File

@ -67,11 +67,14 @@ BuildRequires: %{python_module pytest}
BuildRequires: %{python_module virtualenv}
# /SECTION
# python-base is not enough, we need the _ssl module
Requires: python
%ifpython2
Requires: python
Requires: python-enum34
Requires: python-ipaddress
%endif
%ifpython3
Requires: python3
%endif
%python_subpackages
%description