Accepting request 1100750 from home:bmwiedemann:branches:devel:languages:python

Drop sphinx doctrees for reproducible builds

OBS-URL: https://build.opensuse.org/request/show/1100750
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bpython?expand=0&rev=32
This commit is contained in:
2023-07-26 14:28:25 +00:00
committed by Git OBS Bridge
parent 00b3b85937
commit 78869e0f23
2 changed files with 6 additions and 1 deletions

View File

@@ -93,7 +93,7 @@ Documentation and help files for %{name}.
%build
%pyproject_wheel
# Build HTML documentation
sphinx-build doc/sphinx/source build/sphinx/html && rm build/sphinx/html/.buildinfo
sphinx-build doc/sphinx/source build/sphinx/html && rm -r build/sphinx/html/.{buildinfo,doctrees}
# .. and the manual pages
sphinx-build -b man doc/sphinx/source build/sphinx/man