From 5fe0d71bb02014e30b7386556e85584207de0b27 Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Tue, 15 May 2012 08:41:21 -0700 Subject: [PATCH] Previous change in two places --- python-setuptools.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/python-setuptools.spec b/python-setuptools.spec index 2c7c283..a7a96b0 100644 --- a/python-setuptools.spec +++ b/python-setuptools.spec @@ -67,7 +67,9 @@ find . -name '*.orig' -exec rm \{\} \; %if 0%{?with_python3} rm -rf %{py3dir} cp -a . %{py3dir} -find %{py3dir} -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|' +for file in setuptools/command/easy_install.py distribute_setup.py ; do + sed -i '1s|^#!python|#!%{__python3}|' $file +done %endif # with_python3 for file in setuptools/command/easy_install.py distribute_setup.py ; do