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