Explicitly set PYTHONPATH to the sourcedir when building the documentation
This avoids: ModuleNotFoundError: No module named 'breathe' Resolves: #1980813
This commit is contained in:
parent
c34bc3dd5a
commit
46ff1caa1c
@ -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 <lnykryn@redhat.com> - 4.27.0-5
|
||||
- fix building docs
|
||||
|
||||
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com>
|
||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||
Related: rhbz#1991688
|
||||
|
Loading…
Reference in New Issue
Block a user