replace obsolete pngmath with imgmath
This commit is contained in:
parent
15ec09612a
commit
724d64a6a2
26
0001-replace-obsolete-pngmath-with-imgmath.patch
Normal file
26
0001-replace-obsolete-pngmath-with-imgmath.patch
Normal file
@ -0,0 +1,26 @@
|
||||
diff --git a/kitchen2/docs/conf.py b/kitchen2/docs/conf.py
|
||||
index 5885d48..b699d95 100644
|
||||
--- a/kitchen2/docs/conf.py
|
||||
+++ b/kitchen2/docs/conf.py
|
||||
@@ -25,7 +25,7 @@ import kitchen.release
|
||||
|
||||
# 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/kitchen3/docs/conf.py b/kitchen3/docs/conf.py
|
||||
index 5b70a39..fdc0a3b 100644
|
||||
--- a/kitchen3/docs/conf.py
|
||||
+++ b/kitchen3/docs/conf.py
|
||||
@@ -25,7 +25,7 @@ import kitchen.release
|
||||
|
||||
# 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']
|
||||
@ -1,6 +1,6 @@
|
||||
Name: python-kitchen
|
||||
Version: 1.2.6
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: Useful snippets of python code
|
||||
License: LGPLv2+
|
||||
URL: https://pypi.python.org/pypi/kitchen/
|
||||
@ -14,6 +14,8 @@ BuildRequires: python3-sphinx
|
||||
|
||||
Requires: python2-chardet
|
||||
|
||||
Patch0: 0001-replace-obsolete-pngmath-with-imgmath.patch
|
||||
|
||||
%description
|
||||
kitchen comprising gettext easy to use, easy to unicode text processing functions, and for write
|
||||
code modules but requires python-2.7 running on python-2.3 compatibility module.
|
||||
@ -94,6 +96,9 @@ popd
|
||||
%doc {kitchen2,kitchen3}/docs/* html COPYING COPYING.LESSER
|
||||
|
||||
%changelog
|
||||
* Fri Sep 25 2020 tianwei <tianwei12@huawei.com> - 1.2.6-2
|
||||
- replace obsolete pngmath with imgmath
|
||||
|
||||
* Sat Feb 15 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.2.6-1
|
||||
- Update to 1.2.6 and enable python3 test
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user