From 9e5edb55ba28258fc5eb3cc44720d4178687df78 Mon Sep 17 00:00:00 2001 From: Jeroen van Meeuwen (Kolab Systems) Date: Mar 13 2019 12:19:24 +0000 Subject: Also fix rendering documentation --- diff --git a/python-zope-schema.spec b/python-zope-schema.spec index c8bfad8..fd836fb 100644 --- a/python-zope-schema.spec +++ b/python-zope-schema.spec @@ -27,7 +27,6 @@ This package is a zope.interface extension for defining data schemas. Summary: Zope 3 schemas %{?python_provide:%python_provide python2-zope-schema} -BuildRequires: python2-sphinx BuildRequires: python2-devel BuildRequires: python2-setuptools BuildRequires: python2-zope-event @@ -48,6 +47,8 @@ Summary: Zope 3 schemas BuildRequires: python3-devel BuildRequires: python3-setuptools +# For docs +BuildRequires: python3-sphinx # For tests BuildRequires: python3-zope-testing BuildRequires: python3-zope-interface @@ -73,7 +74,7 @@ rm -rf %{modname}.egg-info %endif # build Sphinx documents -sphinx-build -b html docs/ build/sphinx/html +sphinx-build-%{python3_version} -b html docs/ build/sphinx/html cp -pr build/sphinx/html . rm -fr html/{.buildinfo,.doctrees}