fix reqirement for urllib3<1.25 [release 2.21.0-2mamba;Thu May 16 2019]

This commit is contained in:
Silvan Calarco 2024-01-05 16:34:48 +01:00
parent 6ad163ce5f
commit e8da8db6ef

View File

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