From 20a0a53595413bc7e75fecf0a8777bd082375db0 Mon Sep 17 00:00:00 2001 From: Thomas Spura Date: Tue, 22 Apr 2014 09:15:47 +0200 Subject: [PATCH] fix python -> python3 sed replacement --- ipython.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ipython.spec b/ipython.spec index e9a3d2c..732f247 100644 --- a/ipython.spec +++ b/ipython.spec @@ -358,7 +358,7 @@ popd %if 0%{?with_python3} rm -rf %{py3dir} cp -a . %{py3dir} -find %{py3dir} -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|' +find %{py3dir} -name '*.py' -print0 | xargs -0 sed -i '1s|^#!python|#!%{__python3}|' %endif # with_python3 @@ -633,6 +633,7 @@ PYTHONPATH=%{buildroot}%{python_sitelib} \ %changelog * Tue Apr 22 2014 Thomas Spura - 2.0.0-2 - add BR/R python-path +- fix python -> python3 sed replacement * Thu Apr 3 2014 Thomas Spura - 2.0.0-1 - update to 2.0.0