forked from pool/python-pip
- Don't use %python_fix_shebang_path, not available on leap yet
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=118
This commit is contained in:
@@ -136,7 +136,7 @@ install -D -m 0644 -t %{buildroot}%{$python_sitelib}/../wheels dist/*.whl
|
||||
}
|
||||
|
||||
%{python_expand # Fix shebang path for "pip3.XX" binaries
|
||||
%{$python_fix_shebang_path %{buildroot}%{_bindir}/pip%{$python_bin_suffix}}
|
||||
sed -i "1s|#\!.*python.*|#\!/usr/bin/$python|" %{buildroot}%{_bindir}/pip%{$python_bin_suffix}
|
||||
}
|
||||
|
||||
%python_clone -a %{buildroot}%{_bindir}/pip
|
||||
|
Reference in New Issue
Block a user