F38+: Use %{py3_test_envvars} to set up the test environment

This commit is contained in:
Benjamin A. Beasley 2023-10-17 14:01:43 -04:00
parent 0e67324ae6
commit ae2cda16d2

View File

@ -99,7 +99,7 @@ export LLVM_CONFIG="%{_libdir}/llvm14/bin/llvm-config"
%check %check
%if %{with tests} %if %{with tests}
PYTHONPATH='%{buildroot}%{python3_sitearch}' %{python3} runtests.py %{py3_test_envvars} %{python3} runtests.py
%endif %endif
%files -n python3-llvmlite -f %{pyproject_files} %files -n python3-llvmlite -f %{pyproject_files}