From 10992d044002f208e2d9ced03241c261b77da40a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 20 May 2019 14:34:14 +0200 Subject: [PATCH] Revert a dirty workaround, fixed properly in sphinxcontrib-serializinghtml 1.1.3 --- python-sphinxcontrib-websupport.spec | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/python-sphinxcontrib-websupport.spec b/python-sphinxcontrib-websupport.spec index 42593b2..017a39a 100644 --- a/python-sphinxcontrib-websupport.spec +++ b/python-sphinxcontrib-websupport.spec @@ -24,11 +24,13 @@ BuildRequires: python3-mock BuildRequires: python3-pytest BuildRequires: python3-six BuildRequires: python3-sphinx +BuildRequires: python3-sphinxcontrib-serializinghtml >= 1.1.3 BuildRequires: python3-sqlalchemy BuildRequires: python3-whoosh Requires: python3-jinja2 Requires: python3-six Requires: python3-sphinx +Requires: python3-sphinxcontrib-serializinghtml >= 1.1.3 Recommends: python3-sqlalchemy Recommends: python3-whoosh @@ -41,10 +43,6 @@ documentation into your Web application. # Remove bundled egg-info rm -rf %{pypi_name}.egg-info -# This "magical" import somehow doesn't work here -# XXX investigate -sed -i 's/from sphinx\.builders\.html import /from sphinxcontrib.serializinghtml import /' sphinxcontrib/websupport/builder.py - %build %py3_build