use __python shebang instead of python2 for main scripts
This commit is contained in:
parent
19eb4e61fc
commit
96499a34e0
@ -516,7 +516,7 @@ popd
|
||||
|
||||
# Do we need to replace python3 with python2? Only seems to occur on rawhide, see #1123618
|
||||
echo %{buildroot}%{_bindir}/{ipcluster,ipcontroller,ipengine,iptest,ipython} | xargs head -n 2
|
||||
echo %{buildroot}%{_bindir}/{ipcluster,ipcontroller,ipengine,iptest,ipython} | xargs sed -i '1s|^#!python|#!%{__python2}|'
|
||||
echo %{buildroot}%{_bindir}/{ipcluster,ipcontroller,ipengine,iptest,ipython} | xargs sed -i '1s|^#!python|#!%{__python}|'
|
||||
|
||||
|
||||
%clean
|
||||
|
Loading…
Reference in New Issue
Block a user