diff --git a/python-setuptools.spec b/python-setuptools.spec index e1a70c8..1008bee 100644 --- a/python-setuptools.spec +++ b/python-setuptools.spec @@ -65,7 +65,7 @@ find -name '*.txt' | xargs chmod -x find . -name '*.orig' -exec rm \{\} \; %if 0%{?with_python3} -rm -rf %{pyver} +rm -rf %{py3dir} cp -a . %{py3dir} find %{py3dir} -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|' %endif # with_python3