fix reqirement for urllib3<1.25 [release 2.21.0-2mamba;Thu May 16 2019]
This commit is contained in:
parent
6ad163ce5f
commit
e8da8db6ef
@ -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 <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
|
||||
- update to 2.21.0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user