update to 2.26.0 [release 2.26.0-1mamba;Mon Aug 30 2021]
This commit is contained in:
parent
ba581cf946
commit
a6aac856d0
@ -1,16 +1,17 @@
|
||||
Name: python-requests
|
||||
Version: 2.25.1
|
||||
Release: 2mamba
|
||||
Release: 3mamba
|
||||
Summary: Requests is an Apache2 Licensed HTTP library, written in Python, for human beings
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
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
|
||||
License: Apache License 2.0
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: libpython3-devel
|
||||
BuildRequires: python3.7dist(certifi)
|
||||
BuildRequires: python3.7dist(chardet)
|
||||
BuildRequires: python3.7dist(idna)
|
||||
BuildRequires: python3.7dist(urllib3)
|
||||
@ -22,12 +23,13 @@ BuildRequires: python3.7dist(urllib3)
|
||||
%if 0%{?with_pyver}
|
||||
%pyver_package
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%setup -q -n requests-%{version}
|
||||
|
||||
sed -e '/certifi/d' \
|
||||
-e "s/,<.*'/'/" \
|
||||
-i setup.py
|
||||
# Remove unsatifyable requirements for python*(idna) < 3.0
|
||||
sed -e "s/,<.*'/'/" \
|
||||
-i 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
|
||||
|
||||
%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
|
||||
- rebuilt with distdeps
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user