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
This commit is contained in:
Dirk Mueller 2019-01-12 15:42:15 +00:00 committed by Git OBS Bridge
parent 2b5c82d4b2
commit 4e7a7eb879
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jan 9 22:42:33 UTC 2019 - Jonathan Brownell <jbrownell@suse.com>
- Support older Red Hat platforms that don't offer "Recommends:"
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Dec 31 12:24:10 CET 2018 - mcepl@suse.com Mon Dec 31 12:24:10 CET 2018 - mcepl@suse.com

View File

@ -51,10 +51,17 @@ Requires: python-idna < 2.8
Requires: python-idna >= 2.5 Requires: python-idna >= 2.5
Requires: python-py Requires: python-py
Requires: python-urllib3 >= 1.21.1 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: ca-certificates-mozilla
Recommends: python-PySocks >= 1.5.6 Recommends: python-PySocks >= 1.5.6
Recommends: python-cryptography >= 1.3.4 Recommends: python-cryptography >= 1.3.4
Recommends: python-pyOpenSSL >= 0.14 Recommends: python-pyOpenSSL >= 0.14
%endif
BuildArch: noarch BuildArch: noarch
%if %{with test} %if %{with test}
BuildRequires: %{python_module PySocks >= 1.5.6} BuildRequires: %{python_module PySocks >= 1.5.6}