[packages/python3-dbus-deviation] - fixed docs build

qboosh qboosh at pld-linux.org
Wed Apr 2 07:59:41 CEST 2025


commit 3569b49d0ebbd225713a20a0baf5467b661dcb7b
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Apr 2 06:38:06 2025 +0200

    - fixed docs build

 python3-dbus-deviation.spec | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/python3-dbus-deviation.spec b/python3-dbus-deviation.spec
index 30ec2ad..aec1127 100644
--- a/python3-dbus-deviation.spec
+++ b/python3-dbus-deviation.spec
@@ -62,7 +62,11 @@ Dokumentacja API modułu Pythona dbus-deviation.
 %setup -q -n dbus-deviation-%{version}
 
 %build
-%py3_build %{?with_tests:test} %{?with_doc:build_sphinx}
+%py3_build %{?with_tests:test}
+
+%if %{with doc}
+sphinx-build-3 -b html docs docs/build/html
+%endif
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -86,5 +90,5 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with doc}
 %files apidocs
 %defattr(644,root,root,755)
-%doc build-3/sphinx/html/{_modules,_static,*.html,*.js}
+%doc docs/build/html/{_modules,_static,*.html,*.js}
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-dbus-deviation.git/commitdiff/3569b49d0ebbd225713a20a0baf5467b661dcb7b



More information about the pld-cvs-commit mailing list