From 4e7a7eb8795cc0107ebbc2397e4664373a9b99f02163f255869c646a858e9e2d Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 12 Jan 2019 15:42:15 +0000 Subject: [PATCH] Accepting request 664951 from home:jbrownell:branches:devel:languages:python - Support older Red Hat platforms that don't offer "Recommends:" OBS-URL: https://build.opensuse.org/request/show/664951 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=121 --- python-requests.changes | 5 +++++ python-requests.spec | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/python-requests.changes b/python-requests.changes index 506015e..2c65ea9 100644 --- a/python-requests.changes +++ b/python-requests.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 9 22:42:33 UTC 2019 - Jonathan Brownell + +- Support older Red Hat platforms that don't offer "Recommends:" + ------------------------------------------------------------------- Mon Dec 31 12:24:10 CET 2018 - mcepl@suse.com diff --git a/python-requests.spec b/python-requests.spec index 1d58f89..69532e1 100644 --- a/python-requests.spec +++ b/python-requests.spec @@ -51,10 +51,17 @@ Requires: python-idna < 2.8 Requires: python-idna >= 2.5 Requires: python-py Requires: python-urllib3 >= 1.21.1 +%if 0%{?_no_weakdeps} +Requires: ca-certificates-mozilla +Requires: python-PySocks >= 1.5.6 +Requires: python-cryptography >= 1.3.4 +Requires: python-pyOpenSSL >= 0.14 +%else Recommends: ca-certificates-mozilla Recommends: python-PySocks >= 1.5.6 Recommends: python-cryptography >= 1.3.4 Recommends: python-pyOpenSSL >= 0.14 +%endif BuildArch: noarch %if %{with test} BuildRequires: %{python_module PySocks >= 1.5.6}