Simplify test-suite invocation

This commit is contained in:
Benjamin A. Beasley 2023-04-25 11:32:50 -04:00
parent ab51b48ccc
commit f378855713

View File

@ -130,7 +130,7 @@ export LLVM_CONFIG="%{_libdir}/llvm11/bin/llvm-config"
%check
%if %{with tests}
LD_LIBRARY_PATH="%{buildroot}%{python3_sitearch}/llvmlite/binding/" PYTHONPATH="$PYTHONPATH:%{buildroot}%{python3_sitearch}:%{buildroot}%{python3_sitelib}" %{python3} runtests.py
PYTHONPATH='%{buildroot}%{python3_sitearch}' %{python3} runtests.py
%endif
%files -n python3-llvmlite -f %{pyproject_files}