[ipython] use __python shebang instead of python2 for main scripts
Thomas Spura
tomspur at fedoraproject.org
Thu Aug 7 19:50:30 UTC 2014
commit 96499a34e0f95fca830643ec138aadc927cf8a93
Author: Thomas Spura <thomas.spura at gmail.com>
Date: Thu Aug 7 21:39:02 2014 +0200
use __python shebang instead of python2 for main scripts
ipython.spec | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/ipython.spec b/ipython.spec
index 42da598..fa1f9a6 100644
--- a/ipython.spec
+++ b/ipython.spec
@@ -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
More information about the scm-commits
mailing list