[packages/python-nose] - force sphinx-build-2
qboosh
qboosh at pld-linux.org
Sun Jul 15 13:10:54 CEST 2018
commit 8da6a81195c07c5da2fbc2b791a73aa86798d36e
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Jul 15 13:12:46 2018 +0200
- force sphinx-build-2
python-nose.spec | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/python-nose.spec b/python-nose.spec
index c492e0a..9e09958 100644
--- a/python-nose.spec
+++ b/python-nose.spec
@@ -30,7 +30,7 @@ BuildRequires: python3-setuptools
BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 1.714
%if %{with tests}
-BuildRequires: sphinx-pdg >= 1.0
+BuildRequires: sphinx-pdg-2 >= 1.0
%endif
Requires: python-devel-tools >= 1:2.5
BuildArch: noarch
@@ -119,7 +119,9 @@ cd ..
%endif
%if %{with doc}
-%{__make} -C doc html
+# force python 2: sources are in python2 syntax (2to3 would be required for sphinx-build-3)
+%{__make} -C doc html \
+ SPHINXBUILD=sphinx-build-2
%endif
%install
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-nose.git/commitdiff/8da6a81195c07c5da2fbc2b791a73aa86798d36e
More information about the pld-cvs-commit
mailing list