From 28a2e37106d3a05646a1e87738f6585a566bf785 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Fri, 28 Jul 2023 13:57:58 +0200 Subject: [PATCH] Avoid the deprecated `python3 setup.py test` command --- PyYAML.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}