From 53c34681efd1cf05e7b45da770ba8a731b9516d5 Mon Sep 17 00:00:00 2001 From: gaochao_100 Date: Fri, 19 Jun 2020 18:55:53 +0800 Subject: [PATCH] potential fix for Python3.8 --- python-cffi.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/python-cffi.spec b/python-cffi.spec index 9e8c032..7a47e2b 100644 --- a/python-cffi.spec +++ b/python-cffi.spec @@ -47,6 +47,10 @@ Buildrequires: python3-devel python3-pycparser python3-pytest python3-setuptool %py2_install %py3_install +#%check +#PYTHONPATH=%{buildroot}%{python2_sitearch} %{__python2} -m pytest c/ testing/ +#PYTHONPATH=%{buildroot}%{python3_sitearch} %{__python3} -m pytest c/ testing/ + %files -n python2-%{_name} %defattr(-,root,root) %doc LICENSE AUTHORS