[projects/template-specs] - drop tox wrapping, call sphinx directly if no makefile

qboosh qboosh at pld-linux.org
Tue Mar 25 19:29:53 CET 2025


commit 00175b439d66296d5d5360fae13213587ec534df
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Mar 25 19:05:56 2025 +0100

    - drop tox wrapping, call sphinx directly if no makefile

 python3.spec | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/python3.spec b/python3.spec
index 300ebf2..c3ec8a4 100644
--- a/python3.spec
+++ b/python3.spec
@@ -39,8 +39,6 @@ BuildRequires:	rpmbuild(macros) >= 2.044
 #BuildRequires:        sed >= 4.0
 %if %{with doc}
 BuildRequires:	sphinx-pdg-3
-# or
-BuildRequires:	python3-tox
 %endif
 # replace with other requires if defined in setup.py
 Requires:	python3-modules >= 1:3.2
@@ -98,7 +96,7 @@ rm -rf docs/_build/html/_sources
 
 # or
 
-%{_bindir}/tox -e docs
+sphinx-build-3 -b html docs docs/_build/html
 %endif
 
 %install
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/template-specs.git/commitdiff/a03c6a67f0399225a8d8a12dbf4b329d83faf192



More information about the pld-cvs-commit mailing list