From 8d3e3d35f4122951b72d3e0d0f78c30459c4a64c Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 16:18:04 +0100 Subject: [PATCH] rebuilt with python 3.10 [release 23.0.1-2mamba;Sun Apr 09 2023] --- python-pip.spec | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/python-pip.spec b/python-pip.spec index 69a0100..30bf2d4 100644 --- a/python-pip.spec +++ b/python-pip.spec @@ -1,6 +1,6 @@ Name: python-pip Version: 23.0.1 -Release: 1mamba +Release: 2mamba Summary: A tool for installing and managing Python packages Group: System/Libraries Vendor: openmamba @@ -52,18 +52,22 @@ CFLAGS="%{optflags}" %{__python} setup.py build sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist %if "%{?with_pyver}" != "3" -rm -f %{buildroot}%{_bindir}/pip -sed -i "\,%{_bindir}/pip$,d" %{name}.filelist -rm -f %{buildroot}%{_bindir}/pip3 -sed -i "\,%{_bindir}/pip3$,d" %{name}.filelist +# Remove conflicting file outside of python site packages tree +rm -f %{buildroot}%{_bindir}/{pip,pip3} %endif +sed -i "\,%{_bindir},d" %{name}.filelist + %files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) +%{_bindir}/pip* %dir %{python_sitearch}/pip-%{version}-py*.egg-info %{python_sitearch}/pip-%{version}-py*.egg-info/* %changelog +* Sun Apr 09 2023 Silvan Calarco 23.0.1-2mamba +- rebuilt with python 3.10 + * Sat Feb 18 2023 Automatic Build System 23.0.1-1mamba - automatic version update by autodist