rebuilt with distdeps [release 2.25.1-2mamba;Fri Apr 09 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 16:34:48 +01:00
parent 9dcbaef701
commit ba581cf946

View File

@ -1,6 +1,6 @@
Name: python-requests Name: python-requests
Version: 2.25.1 Version: 2.25.1
Release: 1mamba Release: 2mamba
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,42 +10,18 @@ URL: https://pypi.python.org/pypi/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: libpython-devel BuildRequires: libpython3-devel
BuildRequires: python3.7dist(chardet)
BuildRequires: python3.7dist(idna)
BuildRequires: python3.7dist(urllib3)
## AUTOBUILDREQ-END ## 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 %description
%{summary}. %{summary}.
%if "%?with_pyver" %if 0%{?with_pyver}
%define pyver %{with_pyver} %pyver_package
%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}.
%endif %endif
%prep %prep
%setup -q -n requests-%{version} %setup -q -n requests-%{version}
@ -65,13 +41,18 @@ CFLAGS="%{optflags}" %{__python} setup.py build
--install-lib=%{python_sitearch} \ --install-lib=%{python_sitearch} \
--record=%{name}.filelist --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 %files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root) %defattr(-,root,root)
%dir %{python_sitearch}/requests-%{version}-py*.egg-info
%{python_sitearch}/requests-%{version}-py*.egg-info/*
%doc LICENSE %doc LICENSE
%changelog %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 * Thu Dec 17 2020 Automatic Build System <autodist@mambasoft.it> 2.25.1-1mamba
- automatic version update by autodist - automatic version update by autodist