diff --git a/python-configshell.spec b/python-configshell.spec index 0bb7bf6..6830b4c 100644 --- a/python-configshell.spec +++ b/python-configshell.spec @@ -65,7 +65,7 @@ popd %install rm -rf %{buildroot} -%{__python} setup.py install --skip-build --root %{buildroot} +%py2_install %if 0%{?with_python3} pushd %{py3dir}