From 4bbf5b82dd0368320fd485250f7b4703aa2b25ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 7 Jun 2021 15:59:01 +0200 Subject: [PATCH] Explicitly set PYTHONPATH to the sourcedir when building the documentation This avoids: ModuleNotFoundError: No module named 'breathe' --- python-breathe.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-breathe.spec b/python-breathe.spec index 7cd83e8..d331b75 100644 --- a/python-breathe.spec +++ b/python-breathe.spec @@ -58,7 +58,7 @@ This package contains documentation for developer documentation for %{srcname}. %build %py3_build # Build the documentation -%make_build DOXYGEN=$(which doxygen) html +%make_build DOXYGEN=$(which doxygen) PYTHONPATH=$(pwd) html # Remove temporary build files rm documentation/build/html/.buildinfo