diff --git a/python-autodocsumm.changes b/python-autodocsumm.changes index 9887bfa..96c920e 100644 --- a/python-autodocsumm.changes +++ b/python-autodocsumm.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Aug 28 12:45:01 UTC 2023 - Markéta Machová + +- Add patch sphinx72.patch + ------------------------------------------------------------------- Fri May 19 09:03:48 UTC 2023 - Jiri Srain diff --git a/python-autodocsumm.spec b/python-autodocsumm.spec index 16eb5a5..7b31a0a 100644 --- a/python-autodocsumm.spec +++ b/python-autodocsumm.spec @@ -25,6 +25,8 @@ Summary: Extended sphinx autodoc including automatic autosummaries License: Apache-2.0 URL: https://github.com/Chilipp/autodocsumm Source: https://github.com/Chilipp/autodocsumm/archive/v%{version}.tar.gz#/autodocsumm-%{version}.tar.gz +# PATCH-FIX-UPSTREAM https://github.com/Chilipp/autodocsumm/pull/88 fix build with Sphinx 7.2 +Patch: sphinx72.patch BuildRequires: %{python_module pip} BuildRequires: %{python_module versioneer} BuildRequires: %{python_module wheel} diff --git a/sphinx72.patch b/sphinx72.patch new file mode 100644 index 0000000..ff8958f --- /dev/null +++ b/sphinx72.patch @@ -0,0 +1,13 @@ +Index: autodocsumm-0.2.11/tests/test_autodocsumm.py +=================================================================== +--- autodocsumm-0.2.11.orig/tests/test_autodocsumm.py ++++ autodocsumm-0.2.11/tests/test_autodocsumm.py +@@ -36,7 +36,7 @@ def in_between(full, sub, s0, *others): + + + def get_html(app, fname): +- with open(app.outdir + '/' + fname) as f: ++ with open(str(app.outdir) + '/' + fname) as f: + return f.read() + +