add requirements in py3* packages [release 2.23.0-2mamba;Sat Apr 11 2020]
This commit is contained in:
parent
aadb237b5a
commit
f7015f400a
@ -1,6 +1,6 @@
|
||||
Name: python-requests
|
||||
Version: 2.23.0
|
||||
Release: 1mamba
|
||||
Release: 2mamba
|
||||
Summary: Requests is an Apache2 Licensed HTTP library, written in Python, for human beings
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
@ -14,16 +14,36 @@ BuildRequires: libpython-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: libpython3-devel >= 3.7.4
|
||||
Requires: python >= %python_version
|
||||
Requires: python-chardet
|
||||
Requires: python-certifi
|
||||
Requires: python-chardet
|
||||
Requires: python-urllib3
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
%{summary}.
|
||||
|
||||
%if "%{?with_pyver}"
|
||||
%pyver_package
|
||||
%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}.
|
||||
%endif
|
||||
|
||||
%prep
|
||||
@ -52,6 +72,9 @@ CFLAGS="%{optflags}" %{__python} setup.py build
|
||||
%doc LICENSE
|
||||
|
||||
%changelog
|
||||
* Sat Apr 11 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.23.0-2mamba
|
||||
- add requirements in py3* packages
|
||||
|
||||
* Sun Feb 23 2020 Automatic Build System <autodist@mambasoft.it> 2.23.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user