From ae2cda16d20bb5effe9432b012b9e5537b2c4327 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Tue, 17 Oct 2023 14:01:43 -0400 Subject: [PATCH] F38+: Use %{py3_test_envvars} to set up the test environment --- python-llvmlite.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-llvmlite.spec b/python-llvmlite.spec index 90fbb0d..bf09eeb 100644 --- a/python-llvmlite.spec +++ b/python-llvmlite.spec @@ -99,7 +99,7 @@ export LLVM_CONFIG="%{_libdir}/llvm14/bin/llvm-config" %check %if %{with tests} -PYTHONPATH='%{buildroot}%{python3_sitearch}' %{python3} runtests.py +%{py3_test_envvars} %{python3} runtests.py %endif %files -n python3-llvmlite -f %{pyproject_files}