From 81bfa32b70b90d8eb0083a8b21135f6b384da30c74a448d3dae7fb2c7071c76b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 21 May 2018 09:30:57 +0000 Subject: [PATCH] - Recommend the pyblake2 on python2 as it is included in py3.6+ but was never in py2 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-twine?expand=0&rev=14 --- python-twine.changes | 6 ++++++ python-twine.spec | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/python-twine.changes b/python-twine.changes index 7142f51..d89f793 100644 --- a/python-twine.changes +++ b/python-twine.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon May 21 09:30:29 UTC 2018 - tchvatal@suse.com + +- Recommend the pyblake2 on python2 as it is included in py3.6+ + but was never in py2 + ------------------------------------------------------------------- Mon May 21 09:23:53 UTC 2018 - tchvatal@suse.com diff --git a/python-twine.spec b/python-twine.spec index 97a96af..c3daea6 100644 --- a/python-twine.spec +++ b/python-twine.spec @@ -41,7 +41,7 @@ Requires: python-tqdm >= 4.14 Requires(post): update-alternatives Requires(postun): update-alternatives Recommends: python-keyring -%if 0%{?suse_version} <= 1320 +%ifpython2 Recommends: python-pyblake2 %endif %python_subpackages