From b288807e481e712e32bf619c8ff2bbc6603b42aa Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Thu, 13 Oct 2022 21:34:20 +0200 Subject: [PATCH] - disabled python3 here --- python-bleach.spec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/python-bleach.spec b/python-bleach.spec index 5e5295f..1115534 100644 --- a/python-bleach.spec +++ b/python-bleach.spec @@ -4,7 +4,7 @@ %bcond_without doc # Sphinx documentation %bcond_without tests # unit tests %bcond_without python2 # CPython 2.x module -%bcond_without python3 # CPython 3.x module +%bcond_with python3 # CPython 3.x module (built from python3-bleach.spec) Summary: An easy safelist-based HTML-sanitizing tool Summary(pl.UTF-8): Proste, oparte na liście elementów bezpiecznych, narzędzie do porządkowania HTML-a @@ -39,7 +39,7 @@ BuildRequires: python3-webencodings %endif %endif %if %{with doc} -BuildRequires: sphinx-pdg +BuildRequires: sphinx-pdg-2 %endif Requires: python-modules >= 1:2.7 BuildArch: noarch @@ -101,7 +101,8 @@ PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \ %endif %if %{with doc} -%{__make} -C docs html +%{__make} -C docs html \ + SPHINXBUILD=sphinx-build-2 %endif %install -- 2.44.0