From 96499a34e0f95fca830643ec138aadc927cf8a93 Mon Sep 17 00:00:00 2001 From: Thomas Spura Date: Aug 07 2014 19:39:02 +0000 Subject: use __python shebang instead of python2 for main scripts --- 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