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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue