diff --git a/python-apsw.spec b/python-apsw.spec index 95d563a..6b0c02c 100644 --- a/python-apsw.spec +++ b/python-apsw.spec @@ -73,8 +73,8 @@ rm -f doc/.buildinfo %py3_install %check -CFLAGS="%{optflags}" %{__python2} setup.py build_ext --inplace test -CFLAGS="%{optflags}" %{__python3} setup.py build_ext --inplace test +PYTHONPATH=%{buildroot}%{python2_sitearch} %{__python2} setup.py test +PYTHONPATH=%{buildroot}%{python3_sitearch} %{__python3} setup.py test %files -n python2-apsw %doc doc/*