Use the short -t CLI option for sphinx-build

The long options were added in Sphinx 7.3.0, which is not available in
RHEL 9 and 10. The short option works for each of the currently supported systems.

Ref: https://www.sphinx-doc.org/en/master/changes/7.3.html

[skip changelog]
This commit is contained in:
Karolina Surma 2025-06-19 15:06:04 +02:00
commit 435a2e9aa1

View file

@ -240,7 +240,7 @@ export PYTHONPATH=./src/
%pyproject_wheel
%if %{with man}
sphinx-build --tag man -b man -d docs/build/doctrees/man -c docs/html docs/man docs/build/man
sphinx-build -t man -b man -d docs/build/doctrees/man -c docs/html docs/man docs/build/man
%endif