diff --git a/python-cairocffi.spec b/python-cairocffi.spec index cded10a..32ad013 100644 --- a/python-cairocffi.spec +++ b/python-cairocffi.spec @@ -69,7 +69,7 @@ popd %endif # with_python3 %install -%{__python} setup.py install --skip-build --prefix=%{_prefix} --root %{buildroot} +%py2_install %if 0%{?with_python3} pushd %{py3dir}