update to 21.0 [release 21.0-1mamba;Tue Jan 26 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 16:17:59 +01:00
parent d3dd5958db
commit 5157c0679f

View File

@ -1,5 +1,5 @@
Name: python-pip Name: python-pip
Version: 20.3 Version: 21.0
Release: 1mamba Release: 1mamba
Summary: A tool for installing and managing Python packages Summary: A tool for installing and managing Python packages
Group: System/Libraries Group: System/Libraries
@ -10,8 +10,7 @@ URL: http://www.pip-installer.org/
Source: http://pypi.debian.net/pip/pip-%{version}.tar.gz Source: http://pypi.debian.net/pip/pip-%{version}.tar.gz
License: MIT License: MIT
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: libpython-devel BuildRequires: python3
BuildRequires: python
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: libpython3-devel >= 3.7.4 BuildRequires: libpython3-devel >= 3.7.4
Requires: python-setuptools Requires: python-setuptools
@ -22,6 +21,12 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
pip is a tool for installing and managing Python packages, such as those found in the Python Package Index. Its a replacement for easy_install. pip is a tool for installing and managing Python packages, such as those found in the Python Package Index. Its a replacement for easy_install.
%if "%{?with_pyver}" %if "%{?with_pyver}"
%define py_requires_append \
Requires: python-setuptools%{?pyappend:-%pyappend} \
Provides: pip \
Provides: python-pip \
Obsoletes: python-pip < 20.3 \
Obsoletes: python-pip-py36 <= 20.3
%pyver_package %pyver_package
%endif %endif
@ -43,15 +48,22 @@ CFLAGS="%{optflags}" %{__python} setup.py build
#sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist #sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%if "%{?pyappend}" #%if "%{?pyappend}"
rm -f %{buildroot}%{_bindir}/pip #rm -f %{buildroot}%{_bindir}/pip
sed -i "\,%{_bindir}/pip$,d" %{name}.filelist #sed -i "\,%{_bindir}/pip$,d" %{name}.filelist
%endif #%endif
%posttrans %{?pyappend}
find %{python_sitearch}/*.egg-info -type d -empty -exec rmdir {} \;
:
%files %{?pyappend} -f %{name}.filelist %files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root) %defattr(-,root,root)
%changelog %changelog
* Tue Jan 26 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 21.0-1mamba
- update to 21.0
* Sat Jan 23 2021 Automatic Build System <autodist@mambasoft.it> 20.3-1mamba * Sat Jan 23 2021 Automatic Build System <autodist@mambasoft.it> 20.3-1mamba
- automatic version update by autodist - automatic version update by autodist