diff --git a/python-marshmallow.changes b/python-marshmallow.changes index cc6f049..532953e 100644 --- a/python-marshmallow.changes +++ b/python-marshmallow.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 15 14:54:45 UTC 2023 - Matej Cepl + +- We want "modern" Sphinx on SLE-15, not the 3.6-based one. + ------------------------------------------------------------------- Fri Dec 2 20:31:35 UTC 2022 - Yogalakshmi Arunachalam diff --git a/python-marshmallow.spec b/python-marshmallow.spec index ab79d8a..fc05671 100644 --- a/python-marshmallow.spec +++ b/python-marshmallow.spec @@ -1,7 +1,7 @@ # # spec file for package python-marshmallow # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -37,10 +37,17 @@ Suggests: python-python-dateutil Suggests: python-simplejson BuildArch: noarch # SECTION doc build requirements +%if 0%{?suse_version} == 1500 && %{?sle_version} >= 150400 +BuildRequires: %{python_module Sphinx} +BuildRequires: %{python_module alabaster} +BuildRequires: %{python_module sphinx-issues} +BuildRequires: %{python_module sphinx-version-warning} +%else BuildRequires: python3-Sphinx BuildRequires: python3-alabaster BuildRequires: python3-sphinx-issues BuildRequires: python3-sphinx-version-warning +%endif # /SECTION # SECTION test requirements BuildRequires: %{python_module pytest} @@ -66,7 +73,7 @@ HTML Documentation and examples for %{name}. %build %python_build -sphinx-build-%{python3_bin_suffix} docs/ docs/_build/html +sphinx-build docs/ docs/_build/html rm -r docs/_build/html/.buildinfo docs/_build/html/.doctrees %install