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 ba581cf946
commit a6aac856d0

View File

@ -1,16 +1,17 @@
Name: python-requests Name: python-requests
Version: 2.25.1 Version: 2.25.1
Release: 2mamba Release: 3mamba
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
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://pypi.python.org/pypi/requests/ 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: libpython3-devel BuildRequires: libpython3-devel
BuildRequires: python3.7dist(certifi)
BuildRequires: python3.7dist(chardet) BuildRequires: python3.7dist(chardet)
BuildRequires: python3.7dist(idna) BuildRequires: python3.7dist(idna)
BuildRequires: python3.7dist(urllib3) BuildRequires: python3.7dist(urllib3)
@ -22,12 +23,13 @@ BuildRequires: python3.7dist(urllib3)
%if 0%{?with_pyver} %if 0%{?with_pyver}
%pyver_package %pyver_package
%endif %endif
%prep %prep
%setup -q -n requests-%{version} %setup -q -n requests-%{version}
sed -e '/certifi/d' \ # Remove unsatifyable requirements for python*(idna) < 3.0
-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
@ -50,6 +52,12 @@ sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%doc LICENSE %doc LICENSE
%changelog %changelog
* 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
- fix specfile to require needed python-certifi dep
* Fri Apr 09 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.25.1-2mamba * Fri Apr 09 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.25.1-2mamba
- rebuilt with distdeps - rebuilt with distdeps