From 92db82920f7972d64949d3fc542b9e2359fba749 Mon Sep 17 00:00:00 2001 From: Toshio くらとみ Date: Feb 01 2010 23:17:55 +0000 Subject: Clean the py3dir before using it. --- diff --git a/python-setuptools.spec b/python-setuptools.spec index b50e010..ad6351e 100644 --- a/python-setuptools.spec +++ b/python-setuptools.spec @@ -58,6 +58,7 @@ execute the software that requires pkg_resources.py. find -name '*.txt' | xargs chmod -x %if 0%{?with_python3} +rm -rf %{pyver} cp -a . %{py3dir} find %{py3dir} -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|' %endif # with_python3