diff --git a/python-pyphen.spec b/python-pyphen.spec index e66c287..a492671 100644 --- a/python-pyphen.spec +++ b/python-pyphen.spec @@ -59,7 +59,7 @@ find %{py3dir} -name '*.py' | xargs sed -i '1s|^#!/usr/bin/python|#!%{__python3} %endif # with_python3 %build -%{__python} setup.py build +%py2_build %if 0%{?with_python3} pushd %{py3dir} %{__python3} setup.py build