diff --git a/python-waitress.changes b/python-waitress.changes index e2e35f8..a496c31 100644 --- a/python-waitress.changes +++ b/python-waitress.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Jun 10 09:00:11 UTC 2023 - ecsos + +- Fix build error for waitress:doc + ------------------------------------------------------------------- Wed May 3 11:10:33 UTC 2023 - Martin Liška diff --git a/python-waitress.spec b/python-waitress.spec index c489e0a..2eb24a5 100644 --- a/python-waitress.spec +++ b/python-waitress.spec @@ -57,11 +57,19 @@ Requires(postun):update-alternatives %endif %else # Documentation requirements +%if 0%{?suse_version} > 1500 BuildRequires: python3-Sphinx BuildRequires: python3-docutils BuildRequires: python3-pylons-sphinx-themes BuildRequires: python3-waitress = %{version} Recommends: python3-waitress = %{version} +%else +BuildRequires: %{python_module Sphinx} +BuildRequires: %{python_module docutils} +BuildRequires: %{python_module pylons-sphinx-themes} +BuildRequires: %{python_module waitress = %{version}} +Recommends: python-waitress = %{version} +%endif %endif %python_subpackages