--- /dev/null
+--- recommonmark-0.7.1/recommonmark/parser.py.orig 2022-10-30 07:54:15.297435288 +0100
++++ recommonmark-0.7.1/recommonmark/parser.py 2022-10-30 07:54:17.270757930 +0100
+@@ -3,6 +3,7 @@
+ import sys
+ from os.path import splitext
+
++import docutils.parsers.rst
+ from docutils import parsers, nodes
+ from sphinx import addnodes
+
+@@ -23,6 +24,7 @@ class CommonMarkParser(parsers.Parser):
+ """Docutils parser for CommonMark"""
+
+ supported = ('md', 'markdown')
++ settings_spec = parsers.rst.Parser.settings_spec
+ translate_section_name = None
+
+ default_config = {
# from https://github.com/readthedocs/recommonmark/pull/124
# https://github.com/readthedocs/recommonmark/commit/917e0359fa93acd9b22d7122e2c03d994d9fda44.patch
Patch0: %{name}-math.patch
+Patch1: %{name}-docutils.patch
URL: https://recommonmark.readthedocs.io/en/latest/
%if %{with python2}
BuildRequires: python-modules >= 1:2.7
%prep
%setup -q -n recommonmark-%{version}
%patch0 -p1
+%patch1 -p1
%build
%if %{with python2}