[python-setuptools] Previous change in two places
Toshio くらとみ
toshio at fedoraproject.org
Tue May 15 15:41:34 UTC 2012
commit 5fe0d71bb02014e30b7386556e85584207de0b27
Author: Toshio Kuratomi <toshio at fedoraproject.org>
Date: Tue May 15 08:41:21 2012 -0700
Previous change in two places
python-setuptools.spec | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
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
More information about the scm-commits
mailing list