Skip to content

Commit 5706860

Browse files
committed
relocate pip3 tools
1 parent 45809fd commit 5706860

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

py3-pip.spec

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@ python3 %{_sourcedir}/get-pip.py --no-setuptools --no-wheel pip==%{realversion}
1313

1414
%install
1515
%{relocatePy3SitePackages}
16-
perl -p -i -e "s|^#!.*python.*|#!/usr/bin/env python3|" %{i}/bin/*
1716
rm -f %{i}/bin/pip
17+
perl -p -i -e "s|^#!.*python.*|#!/usr/bin/env python3|" %{i}/bin/pip3*
18+
perl -p -i -e "s| %{cmsroot}/.*/python3 | python3 |" %{i}/bin/pip3*

0 commit comments

Comments
 (0)