diff --git a/PyYAML.spec b/PyYAML.spec index f808591..c9b69c5 100644 --- a/PyYAML.spec +++ b/PyYAML.spec @@ -65,7 +65,7 @@ sed -i 's/Cython<3.0/Cython/' pyproject.toml %check -%{__python3} setup.py test +%{py3_test_envvars} %{python3} tests/lib/test_all.py %files -n python3-pyyaml -f %{pyproject_files}