From 7b58b3cbbf9ddefaeb8703d8b7b77e05b1782fd1e15b759d89f4aa203aa955f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Sat, 3 Feb 2018 13:02:25 +0000 Subject: [PATCH] - 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 --- python-cryptography.changes | 5 +++++ python-cryptography.spec | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/python-cryptography.changes b/python-cryptography.changes index c4a61b9..64f5b75 100644 --- a/python-cryptography.changes +++ b/python-cryptography.changes @@ -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 diff --git a/python-cryptography.spec b/python-cryptography.spec index 929ef60..8ec813c 100644 --- a/python-cryptography.spec +++ b/python-cryptography.spec @@ -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