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}