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

arekm arekm at pld-linux.org
Mon Mar 17 18:03:44 CET 2025


commit 74837facfce4cd1d27414aebbf66431591cffb48
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Mar 17 17:36:20 2025 +0100

    Rel 4; fix docs build

 python3-secretstorage.spec | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/python3-secretstorage.spec b/python3-secretstorage.spec
index 837a529..c470247 100644
--- a/python3-secretstorage.spec
+++ b/python3-secretstorage.spec
@@ -7,7 +7,7 @@ Summary:	Python 3 bindings to Freedesktop.org Secret Service API
 Summary(pl.UTF-8):	Wiązania Pythona 3 do API Secret Service z Freedesktop.org
 Name:		python3-secretstorage
 Version:	3.3.3
-Release:	3
+Release:	4
 License:	BSD
 Group:		Libraries/Python
 #Source0Download: https://pypi.org/simple/secretstorage/
@@ -59,12 +59,16 @@ Dokumentacja API secretstorage.
 %setup -q -n SecretStorage-%{version}
 
 %build
-%py3_build %{?with_doc:build_sphinx}
+%py3_build
 
 %if %{with tests}
 dbus-run-session -- %{__python3} -m unittest discover -s tests
 %endif
 
+%if %{with doc}
+sphinx-build-3 -b html docs/ build/docs
+%endif
+
 %install
 %py3_install
 
@@ -80,5 +84,5 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with doc}
 %files apidocs
 %defattr(644,root,root,755)
-%doc build-3/sphinx/html/{_static,*.html,*.js}
+%doc build/docs/{_static,*.html,*.js}
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-secretstorage.git/commitdiff/74837facfce4cd1d27414aebbf66431591cffb48



More information about the pld-cvs-commit mailing list