diff --git a/kitchen-1.2.6-sphinx-ext-imgmath.patch b/kitchen-1.2.6-sphinx-ext-imgmath.patch new file mode 100644 index 0000000..cbcda27 --- /dev/null +++ b/kitchen-1.2.6-sphinx-ext-imgmath.patch @@ -0,0 +1,12 @@ +diff -ru ../kitchen-1.2.6.orig/kitchen3/docs/conf.py ./kitchen3/docs/conf.py +--- ../kitchen-1.2.6.orig/kitchen3/docs/conf.py 2019-05-14 14:51:05.000000000 -0500 ++++ ./kitchen3/docs/conf.py 2020-08-19 16:39:01.246258880 -0500 +@@ -25,7 +25,7 @@ + + # Add any Sphinx extension module names here, as strings. They can be extensions + # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. +-extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.intersphinx', 'sphinx.ext.todo', 'sphinx.ext.coverage', 'sphinx.ext.pngmath', 'sphinx.ext.ifconfig'] ++extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.intersphinx', 'sphinx.ext.todo', 'sphinx.ext.coverage', 'sphinx.ext.imgmath', 'sphinx.ext.ifconfig'] + + # Add any paths that contain templates here, relative to this directory. + templates_path = ['_templates'] diff --git a/python-kitchen.spec b/python-kitchen.spec index 830d6a9..dc4c3cc 100644 --- a/python-kitchen.spec +++ b/python-kitchen.spec @@ -1,12 +1,14 @@ Name: python-kitchen Version: 1.2.6 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Small, useful pieces of code to make python coding easier License: LGPLv2+ URL: https://pypi.python.org/pypi/kitchen/ Source0: https://github.com/fedora-infra/kitchen/archive/%{version}.tar.gz +Patch0: kitchen-1.2.6-sphinx-ext-imgmath.patch + BuildArch: noarch BuildRequires: langpacks-pt_BR @@ -61,7 +63,7 @@ rm -rf *.egg* # Build docs %if 0%{?rhel} -sphinx-build kitchen2/docs/ build/sphinx/html +sphinx-build kitchen3/docs/ build/sphinx/html cp -pr build/sphinx/html . rm -rf html/.buildinfo %endif @@ -89,6 +91,10 @@ rm -rf html/.buildinfo %endif %changelog +* Wed Aug 19 2020 Merlin Mathesius - 1.2.6-8 +- Build the Python3 version of the docs +- Patch sphinx doc config to use imgmath instead of deprecated pngmath extension + * Wed Jul 29 2020 Fedora Release Engineering - 1.2.6-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild