From 016b8225300dc5530c17233057ec6f6a9b33c02c Mon Sep 17 00:00:00 2001 From: Jacek Konieczny Date: Mon, 30 Nov 2015 20:35:23 +0100 Subject: [PATCH] fix doc build sphinx code is not compatible with Python3, use sphinx-build-2 --- python-pyudev.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python-pyudev.spec b/python-pyudev.spec index 376e9ec..9589ba3 100644 --- a/python-pyudev.spec +++ b/python-pyudev.spec @@ -42,7 +42,7 @@ BuildRequires: rpm-pythonprov BuildRequires: python-mock >= 0.8 BuildRequires: python-sphinxcontrib-issuetracker >= 0.9 BuildRequires: python-pytest >= 2.2 -BuildRequires: sphinx-pdg >= 1.0.7 +BuildRequires: sphinx-pdg-2 >= 1.0.7 %endif Requires: python-modules Requires: udev-libs >= 1:151 @@ -103,7 +103,7 @@ cp -p %{SOURCE1} %{SOURCE2} %{SOURCE3} doc %endif %if %{with doc} -sphinx-build -b html -d doc/_doctrees doc doc/html +sphinx-build-2 -b html -d doc/_doctrees doc doc/html %endif %install -- 2.44.0