commit f746dadfd5fd0311d6e62a08e504c601a31956bc
Author: Jakub Bogusz <[email protected]>
Date:   Wed Sep 7 18:04:02 2022 +0200

    - use python2 for docs generation (python3 is disabled here)

 python-pygobject3.spec | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/python-pygobject3.spec b/python-pygobject3.spec
index e371f98..35bf1c8 100644
--- a/python-pygobject3.spec
+++ b/python-pygobject3.spec
@@ -25,7 +25,7 @@ BuildRequires:        gobject-introspection-devel >= 1.46.0
 BuildRequires: libffi-devel >= 3.0
 BuildRequires: pkgconfig
 BuildRequires: rpm-pythonprov
-%{?with_doc:BuildRequires:     sphinx-pdg}
+%{?with_doc:BuildRequires:     sphinx-pdg-2}
 BuildRequires: tar >= 1:1.22
 BuildRequires: xz
 %if %{with python2}
@@ -166,7 +166,8 @@ Ten pakiet zawiera przykładowe programy dla biblioteki 
GObject.
 %endif
 
 %if %{with doc}
-%{__make} -C docs
+cd docs
+sphinx-build-2 -b html . _build
 %endif
 
 %install
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-pygobject3.git/commitdiff/f746dadfd5fd0311d6e62a08e504c601a31956bc

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to