[python-setuptools] New version added filenames with spaces. Adjust accordingly
Toshio くらとみ
toshio at fedoraproject.org
Tue May 15 15:34:19 UTC 2012
commit 9d6978a8fad7a63501500fcc2fbf4a8501307522
Author: Toshio Kuratomi <toshio at fedoraproject.org>
Date: Tue May 15 08:33:58 2012 -0700
New version added filenames with spaces. Adjust accordingly
distribute-py32.patch | 24 ------------------------
python-setuptools.spec | 4 +++-
2 files changed, 3 insertions(+), 25 deletions(-)
---
diff --git a/python-setuptools.spec b/python-setuptools.spec
index 866afd7..2c7c283 100644
--- a/python-setuptools.spec
+++ b/python-setuptools.spec
@@ -70,7 +70,9 @@ cp -a . %{py3dir}
find %{py3dir} -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|'
%endif # with_python3
-find -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python}|'
+for file in setuptools/command/easy_install.py distribute_setup.py ; do
+ sed -i '1s|^#!python|#!%{__python}|' $file
+done
%build
More information about the scm-commits
mailing list