From 9d7e8564697ececcf42a33ecad2d4c079610f473 Mon Sep 17 00:00:00 2001 From: Miro HronĨok Date: Feb 12 2019 15:52:17 +0000 Subject: https://fedoraproject.org/wiki/Changes/Python_Extension_Flags --- 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/*