From 234879cd20cf7e5fdf4529947747a6825d831b2efa498abb0adec695aec50c84 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 20 Jan 2022 18:27:33 +0000 Subject: [PATCH 1/2] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=203 --- python-Sphinx.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-Sphinx.spec b/python-Sphinx.spec index fcd6dd1..da36920 100644 --- a/python-Sphinx.spec +++ b/python-Sphinx.spec @@ -83,9 +83,9 @@ BuildRequires: %{python_module html5lib} BuildRequires: %{python_module pytest} BuildRequires: %{python_module sphinxcontrib-websupport} BuildRequires: %{python_module testsuite} -BuildRequires: (python3-typed-ast if python3-base < 3.8) BuildRequires: ImageMagick BuildRequires: graphviz +BuildRequires: (python3-typed-ast if python3-base < 3.8) # For PNG format BuildRequires: graphviz-gd # For PDF format (!?) From fd3eb757ad737f907b15619d17fa52f7817c295e6a88ee4a6c7eebfc241efbb5 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 28 Jan 2022 11:01:40 +0000 Subject: [PATCH 2/2] - SPEC cleanup OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=205 --- python-Sphinx.changes | 4 ++-- python-Sphinx.spec | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/python-Sphinx.changes b/python-Sphinx.changes index a8c8912..f1a6f30 100644 --- a/python-Sphinx.changes +++ b/python-Sphinx.changes @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c5797b8f897dd3aca5cb81b63f2c089c71ca6892ef122b6090b63fdf44992593 -size 143874 +oid sha256:45a2895d72395e9939701e198d9ff97b22ba2b0a9d1c183add44428d45be92fa +size 144018 diff --git a/python-Sphinx.spec b/python-Sphinx.spec index da36920..db15d42 100644 --- a/python-Sphinx.spec +++ b/python-Sphinx.spec @@ -66,15 +66,15 @@ Requires: python-sphinxcontrib-jsmath Requires: python-sphinxcontrib-qthelp >= 1.0.2 Requires: python-sphinxcontrib-serializinghtml >= 1.1.5 Requires: python-sphinxcontrib-websupport -%if 0%{?python_version_nodots} < 310 -Requires: python-importlib-metadata >= 4.4 -%endif Requires(post): update-alternatives Requires(postun):update-alternatives Recommends: python-SQLAlchemy >= 0.9 Recommends: python-Sphinx-doc-man Recommends: python-Whoosh >= 2.0 BuildArch: noarch +%if 0%{?python_version_nodots} < 310 +Requires: python-importlib-metadata >= 4.4 +%endif %if %{with test} BuildRequires: %{python_module Cython} BuildRequires: %{python_module Sphinx = %{version}}