diff --git a/python-soupsieve.spec b/python-soupsieve.spec index cf48d83..803f611 100644 --- a/python-soupsieve.spec +++ b/python-soupsieve.spec @@ -48,9 +48,7 @@ sed -i 's/coverage.*//' tox.ini sed -i 's/\(py\.test.*\)$/\1 \{posargs\}/' tox.ini %generate_buildrequires -# pyproject_buildrequires.py fails with -# ValueError: build backend cannot provide build metadata (incl. runtime requirements) before build. -%pyproject_buildrequires %{?with_tests:-t} || : +%pyproject_buildrequires -w %{?with_tests:-t} %build %pyproject_wheel