diff --git a/python-requests.spec b/python-requests.spec index 78c1e80..730e773 100644 --- a/python-requests.spec +++ b/python-requests.spec @@ -1,6 +1,6 @@ Name: python-requests Version: 2.21.0 -Release: 1mamba +Release: 2mamba Summary: Requests is an Apache2 Licensed HTTP library, written in Python, for human beings Group: System/Libraries Vendor: openmamba @@ -15,6 +15,7 @@ BuildRequires: libpython-devel Requires: python >= %python_version Requires: python-chardet Requires: python-certifi +Requires: python-urllib3 BuildRoot: %{_tmppath}/%{name}-%{version}-root %description @@ -27,6 +28,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root %prep %setup -q -n requests-%{version} +sed -e '/certifi/d' \ + -e "s/,<.*'/'/" \ + -i setup.py + %build CFLAGS="%{optflags}" %{__python} setup.py build @@ -46,6 +51,9 @@ CFLAGS="%{optflags}" %{__python} setup.py build %doc LICENSE %changelog +* Thu May 16 2019 Silvan Calarco 2.21.0-2mamba +- fix reqirement for urllib3<1.25 + * Fri Dec 14 2018 Silvan Calarco 2.21.0-1mamba - update to 2.21.0