From 05d6306cabe42a5326bff9ab0339077d558d4417a2cd253c11f73042473b5f94 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 27 Jan 2018 10:42:10 +0000 Subject: [PATCH 1/3] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=85 --- python-cryptography.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-cryptography.spec b/python-cryptography.spec index 7a66729..929ef60 100644 --- a/python-cryptography.spec +++ b/python-cryptography.spec @@ -66,9 +66,9 @@ 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 Requires: python +%ifpython2 Requires: python-enum34 Requires: python-ipaddress %endif From bfe540554255ac1086bfcb7626210832b7fed9ea5a720ec8c94be3438242a499 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 27 Jan 2018 11:25:35 +0000 Subject: [PATCH 2/3] - fix requires on python ssl once more after the last change OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=86 --- python-cryptography.changes | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/python-cryptography.changes b/python-cryptography.changes index 057c486..c4a61b9 100644 --- a/python-cryptography.changes +++ b/python-cryptography.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 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 3/3] - 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