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}
|
Name: python-%{srcname}
|
||||||
Version: 4.27.0
|
Version: 4.27.0
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
Summary: Adds support for Doxygen xml output to reStructuredText and Sphinx
|
Summary: Adds support for Doxygen xml output to reStructuredText and Sphinx
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
@ -58,7 +58,7 @@ This package contains documentation for developer documentation for %{srcname}.
|
|||||||
%build
|
%build
|
||||||
%py3_build
|
%py3_build
|
||||||
# Build the documentation
|
# Build the documentation
|
||||||
%make_build DOXYGEN=$(which doxygen) html
|
%make_build DOXYGEN=$(which doxygen) PYTHONPATH=$(pwd) html
|
||||||
# Remove temporary build files
|
# Remove temporary build files
|
||||||
rm documentation/build/html/.buildinfo
|
rm documentation/build/html/.buildinfo
|
||||||
|
|
||||||
@ -79,6 +79,9 @@ rm documentation/build/html/.buildinfo
|
|||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
|
||||||
%changelog
|
%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>
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com>
|
||||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||||
Related: rhbz#1991688
|
Related: rhbz#1991688
|
||||||
|
Loading…
Reference in New Issue
Block a user