rebuilt with distdeps [release 2.25.1-2mamba;Fri Apr 09 2021]
This commit is contained in:
parent
9dcbaef701
commit
ba581cf946
@ -1,6 +1,6 @@
|
||||
Name: python-requests
|
||||
Version: 2.25.1
|
||||
Release: 1mamba
|
||||
Release: 2mamba
|
||||
Summary: Requests is an Apache2 Licensed HTTP library, written in Python, for human beings
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
@ -10,42 +10,18 @@ URL: https://pypi.python.org/pypi/requests/
|
||||
Source: https://pypi.debian.net/requests/requests-%{version}.tar.gz
|
||||
License: Apache License 2.0
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: libpython-devel
|
||||
BuildRequires: libpython3-devel
|
||||
BuildRequires: python3.7dist(chardet)
|
||||
BuildRequires: python3.7dist(idna)
|
||||
BuildRequires: python3.7dist(urllib3)
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: libpython3-devel >= 3.7.4
|
||||
Requires: python >= %python_version
|
||||
Requires: python-certifi
|
||||
Requires: python-chardet
|
||||
Requires: python-urllib3
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
%{summary}.
|
||||
|
||||
%if "%?with_pyver"
|
||||
%define pyver %{with_pyver}
|
||||
%define pyappend py%{with_pyver}
|
||||
%define __python %(rpm --eval %{__python%{with_pyver}})
|
||||
%define python_sitearch %(rpm --eval %{python%{with_pyver}_sitearch})
|
||||
%define python_sitelib %(rpm --eval %{python%{with_pyver}_sitelib})
|
||||
%define python_inc %(rpm --eval %{python%{with_pyver}_inc})
|
||||
%define python_version %(rpm --eval %{python%{with_pyver}_version})
|
||||
%define python_provides %(rpm --eval %{python%{with_pyver}_provides})
|
||||
%define python_requires %(rpm --eval %{python%{with_pyver}_requires})
|
||||
%define py_requires %(rpm --eval %{py%{with_pyver}_requires})
|
||||
|
||||
%package py%{pyver}
|
||||
Group: System/Libraries/Python
|
||||
Summary: %{summary}
|
||||
Requires: python-certifi-%{?pyappend}
|
||||
Requires: python-chardet-%{?pyappend}
|
||||
Requires: python-urllib3-%{?pyappend}
|
||||
%py_requires
|
||||
|
||||
%description py%{pyver}
|
||||
%{summary}.
|
||||
%if 0%{?with_pyver}
|
||||
%pyver_package
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%setup -q -n requests-%{version}
|
||||
|
||||
@ -65,13 +41,18 @@ CFLAGS="%{optflags}" %{__python} setup.py build
|
||||
--install-lib=%{python_sitearch} \
|
||||
--record=%{name}.filelist
|
||||
|
||||
#sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
||||
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
||||
|
||||
%files %{?pyappend} -f %{name}.filelist
|
||||
%defattr(-,root,root)
|
||||
%dir %{python_sitearch}/requests-%{version}-py*.egg-info
|
||||
%{python_sitearch}/requests-%{version}-py*.egg-info/*
|
||||
%doc LICENSE
|
||||
|
||||
%changelog
|
||||
* Fri Apr 09 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.25.1-2mamba
|
||||
- rebuilt with distdeps
|
||||
|
||||
* Thu Dec 17 2020 Automatic Build System <autodist@mambasoft.it> 2.25.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user