From 13fa1c2c4285889e6a06f3fcf28618268a2ad124096c7e4a2af5878316798fc2 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 5 May 2023 14:20:12 +0000 Subject: [PATCH] - move jquery to runtime requires OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx_rtd_theme?expand=0&rev=36 --- python-sphinx_rtd_theme.changes | 5 +++++ python-sphinx_rtd_theme.spec | 7 ++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/python-sphinx_rtd_theme.changes b/python-sphinx_rtd_theme.changes index f2aa78c..a73f77d 100644 --- a/python-sphinx_rtd_theme.changes +++ b/python-sphinx_rtd_theme.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri May 5 14:19:59 UTC 2023 - Dirk Müller + +- move jquery to runtime requires + ------------------------------------------------------------------- Fri May 5 06:15:47 UTC 2023 - Steve Kowalik diff --git a/python-sphinx_rtd_theme.spec b/python-sphinx_rtd_theme.spec index d92d9ee..c33a59e 100644 --- a/python-sphinx_rtd_theme.spec +++ b/python-sphinx_rtd_theme.spec @@ -37,13 +37,14 @@ BuildRequires: %{python_module setuptools} BuildRequires: dos2unix BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-Sphinx +Requires: python-Sphinx >= 1.6 +Requires: python-docutils < 0.19 +Requires: python-sphinxcontrib-jquery >= 2.0.0 BuildArch: noarch %if %{with test} BuildRequires: %{python_module Sphinx} -BuildRequires: %{python_module sphinxcontrib-jquery} # as per https://github.com/readthedocs/sphinx_rtd_theme/pull/1336 no changes are needed for the new docutils to work -BuildRequires: %{python_module docutils} +BuildRequires: %{python_module docutils < 0.19} BuildRequires: %{python_module pytest} BuildRequires: %{python_module readthedocs-sphinx-ext} %endif