update to 2.26.0 [release 2.26.0-1mamba;Mon Aug 30 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 16:34:48 +01:00
parent a6aac856d0
commit 60e5f14904

View File

@ -1,6 +1,6 @@
Name: python-requests Name: python-requests
Version: 2.25.1 Version: 2.26.0
Release: 3mamba Release: 1mamba
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
@ -10,9 +10,9 @@ URL: https://pypi.org/project/requests/
Source: https://pypi.debian.net/requests/requests-%{version}.tar.gz Source: https://pypi.debian.net/requests/requests-%{version}.tar.gz
License: Apache License 2.0 License: Apache License 2.0
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: (python3.7dist(charset-normalizer) >= 2 with python3.7dist(charset-normalizer) < 2.1)
BuildRequires: libpython3-devel BuildRequires: libpython3-devel
BuildRequires: python3.7dist(certifi) BuildRequires: python3.7dist(certifi)
BuildRequires: python3.7dist(chardet)
BuildRequires: python3.7dist(idna) BuildRequires: python3.7dist(idna)
BuildRequires: python3.7dist(urllib3) BuildRequires: python3.7dist(urllib3)
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
@ -27,9 +27,9 @@ BuildRequires: python3.7dist(urllib3)
%prep %prep
%setup -q -n requests-%{version} %setup -q -n requests-%{version}
# Remove unsatifyable requirements for python*(idna) < 3.0 ## Remove unsatisfyable requirements for python*(idna) < 3.0
sed -e "s/,<.*'/'/" \ #sed -e "s/,<.*'/'/" \
-i setup.py # -i setup.py
%build %build
CFLAGS="%{optflags}" %{__python} setup.py build CFLAGS="%{optflags}" %{__python} setup.py build
@ -55,6 +55,9 @@ sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
* Mon Aug 30 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.26.0-1mamba * Mon Aug 30 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.26.0-1mamba
- update to 2.26.0 - update to 2.26.0
* Mon Aug 30 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.26.0-1mamba
- update to 2.26.0
* Mon Aug 30 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.25.1-3mamba * Mon Aug 30 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.25.1-3mamba
- fix specfile to require needed python-certifi dep - fix specfile to require needed python-certifi dep