diff --git a/python-prettytable.spec b/python-prettytable.spec index b57c350..22a0ecb 100644 --- a/python-prettytable.spec +++ b/python-prettytable.spec @@ -97,7 +97,7 @@ pushd %{py3dir} popd %endif -%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT +%py2_install %files -n python2-%{modname}