From df4b60844a903e0be69afcf69312f5287710d50e1187089d42bc49eb02544c8c Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 12 Jan 2019 15:41:36 +0000 Subject: [PATCH] Accepting request 664953 from home:jbrownell:branches:devel:languages:python - Use "Requires:" instead of "Recommends:" on older build platforms OBS-URL: https://build.opensuse.org/request/show/664953 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tenacity?expand=0&rev=19 --- python-tenacity.changes | 5 +++++ python-tenacity.spec | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/python-tenacity.changes b/python-tenacity.changes index e907746..7b24895 100644 --- a/python-tenacity.changes +++ b/python-tenacity.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 9 23:06:29 UTC 2019 - Jonathan Brownell + +- Use "Requires:" instead of "Recommends:" on older build platforms + ------------------------------------------------------------------- Tue Dec 4 12:55:05 UTC 2018 - Matej Cepl diff --git a/python-tenacity.spec b/python-tenacity.spec index 00c5b44..569d0c0 100644 --- a/python-tenacity.spec +++ b/python-tenacity.spec @@ -40,7 +40,11 @@ BuildRequires: %{python_module tornado} %endif Requires: python-monotonic >= 0.6 Requires: python-six >= 1.9.0 +%if 0%{?_no_weakdeps} +Requires: python-tornado +%else Recommends: python-tornado +%endif %ifpython2 Requires: python-futures >= 3.0 %endif