From 12770577f78f5d5931144180449245b450713504 Mon Sep 17 00:00:00 2001 From: Tomas Hrnciar Date: Apr 21 2021 10:46:16 +0000 Subject: 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. --- diff --git a/python-sphinx.spec b/python-sphinx.spec index 4c7e0d9..1f9e988 100644 --- a/python-sphinx.spec +++ b/python-sphinx.spec @@ -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