Enable runtime dependencies when built without tests

Runtime dependencies are currently brought in only when built with tests
as a part of -x option of %pyproject_buildrequires. But they are also needed
when building without tests, because in-tree sphinx is used to build
the documentation.
This commit is contained in:
Tomas Hrnciar 2021-04-21 11:38:23 +02:00
parent 4459819cfc
commit 12770577f7

View File

@ -256,7 +256,7 @@ sed -i '/typed_ast/d' setup.py
%generate_buildrequires
%pyproject_buildrequires %{?with_tests:-x test}
%pyproject_buildrequires -r %{?with_tests:-x test}
%build