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:
parent
4459819cfc
commit
12770577f7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user