[packages/python3-pybeam] Rel 4; fix docs build

arekm arekm at pld-linux.org
Mon Mar 17 22:14:23 CET 2025


commit e2f352bf8dcc08e672deb620b1c37851c1254f8c
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Mar 17 22:09:46 2025 +0100

    Rel 4; fix docs build

 python3-pybeam.spec | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/python3-pybeam.spec b/python3-pybeam.spec
index 95ef14d..7c3b4fd 100644
--- a/python3-pybeam.spec
+++ b/python3-pybeam.spec
@@ -7,7 +7,7 @@
 Summary:	Python module to parse Erlang BEAM files
 Name:		python3-%{module}
 Version:	0.7
-Release:	3
+Release:	4
 License:	MIT
 Group:		Libraries/Python
 #Source0Download: https://pypi.org/simple/pybeam/
@@ -44,7 +44,11 @@ Dokumentacja API modułu Pythona %{module}.
 %setup -q -n %{module}-%{version}
 
 %build
-%py3_build %{?with_tests:test} %{?with_doc:build_sphinx}
+%py3_build %{?with_tests:test}
+
+%if %{with doc}
+sphinx-build-3 -b html doc/ build/doc
+%endif
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -71,5 +75,5 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with doc}
 %files apidocs
 %defattr(644,root,root,755)
-%doc build-3/sphinx/html/*
+%doc build/doc/*
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-pybeam.git/commitdiff/e2f352bf8dcc08e672deb620b1c37851c1254f8c



More information about the pld-cvs-commit mailing list