From 46ff1caa1c5f9b9ce8d2e7a2e6adda040b286551 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' Resolves: #1980813 --- python-breathe.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/python-breathe.spec b/python-breathe.spec index b0e78f0..34364dc 100644 --- a/python-breathe.spec +++ b/python-breathe.spec @@ -6,7 +6,7 @@ render the Doxygen xml output. Name: python-%{srcname} Version: 4.27.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Adds support for Doxygen xml output to reStructuredText and Sphinx License: BSD @@ -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 @@ -79,6 +79,9 @@ rm documentation/build/html/.buildinfo %license LICENSE %changelog +* Mon Sep 13 2021 Lukas Nykryn - 4.27.0-5 +- fix building docs + * Tue Aug 10 2021 Mohan Boddu - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags Related: rhbz#1991688