diff --git a/docutils-0.16.tar.gz b/docutils-0.16.tar.gz deleted file mode 100644 index d750e953e3d1c6a5b74364b0cfea96e9c6369961..0000000000000000000000000000000000000000 Binary files a/docutils-0.16.tar.gz and /dev/null differ diff --git a/docutils-0.17.1.tar.gz b/docutils-0.17.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..a5974e732de3eb4f08a5221f166da695b99e198a Binary files /dev/null and b/docutils-0.17.1.tar.gz differ diff --git a/fix-test-error.patch b/fix-test-error.patch deleted file mode 100644 index 2e380f425bacf916f4533a0c441268265a28e081..0000000000000000000000000000000000000000 --- a/fix-test-error.patch +++ /dev/null @@ -1,106 +0,0 @@ -diff --git a/test/test_parsers/test_rst/test_directives/test_code.py b/test-edit/test_parsers/test_rst/test_directives/test_code.py -index 8e694c5..1139620 100644 ---- a/test/test_parsers/test_rst/test_directives/test_code.py -+++ b/test-edit/test_parsers/test_rst/test_directives/test_code.py -@@ -96,16 +96,16 @@ totest['code'] = [ - - totest['code-parsing'] = [ - ["""\ --.. code:: python -+.. code:: python3 - :class: testclass - - print('hello world') # to stdout - """, - """\ - -- -+ - \n\ -- -+ - print - - ( -@@ -118,7 +118,7 @@ totest['code-parsing'] = [ - # to stdout - """], - ["""\ --.. code:: python -+.. code:: python3 - :class: testclass - :name: my_function - :number-lines: 7 -@@ -132,7 +132,7 @@ totest['code-parsing'] = [ - """, - """\ - -- -+ - - 7 \n\ - -@@ -165,7 +165,7 @@ totest['code-parsing'] = [ - - 12 \n\ - \n\ -- -+ - print - - ( -diff --git a/test/test_parsers/test_rst/test_directives/test_code_long.py b/test-edit/test_parsers/test_rst/test_directives/test_code_long.py -index aea0013..ccedd78 100644 ---- a/test/test_parsers/test_rst/test_directives/test_code_long.py -+++ b/test-edit/test_parsers/test_rst/test_directives/test_code_long.py -@@ -22,7 +22,7 @@ totest = {} - - totest['code-parsing-long'] = [ - ["""\ --.. code:: python -+.. code:: python3 - :number-lines: 7 - - def my_function(): -@@ -34,7 +34,7 @@ totest['code-parsing-long'] = [ - """, - """\ - -- -+ - - 7 \n\ - -@@ -67,7 +67,7 @@ totest['code-parsing-long'] = [ - - 12 \n\ - \n\ -- -+ - print - - ( -diff --git a/test/test_parsers/test_rst/test_interpreted.py b/test-edit/test_parsers/test_rst/test_interpreted.py -index 6380b48..e7be2eb 100755 ---- a/test/test_parsers/test_rst/test_interpreted.py -+++ b/test-edit/test_parsers/test_rst/test_interpreted.py -@@ -269,7 +269,7 @@ Custom role based on code role: - Custom role based on code role: - - .. role:: python(code) -- :language: python -+ :language: python3 - :class: testclass - - Python code :python:`print("The end")`. -@@ -280,8 +280,8 @@ Python code :python:`print("The end")`. - Custom role based on code role: - - Python code \n\ -- -- -+ -+ - print - - ( diff --git a/python-docutils.spec b/python-docutils.spec index d7cf02afbfb56a87815e5b5661ca4b738ae1088d..16297e8964ae7699923deb11f38bc02a84d2b89d 100644 --- a/python-docutils.spec +++ b/python-docutils.spec @@ -3,16 +3,15 @@ %global flashfilepath docs/user/rst/images/ Name: python-%{modname} -Version: 0.16 -Release: 5 +Version: 0.17.1 +Release: 1 Summary: Documentation Utilities Written in Python, for General- and Special-Purpose Use License: Public Domain and BSD and Python and GPLv3+ URL: http://docutils.sourceforge.net -Source0: http://downloads.sourceforge.net/docutils/docutils-0.16.tar.gz +Source0: http://downloads.sourceforge.net/docutils/docutils-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel -Patch0000: fix-test-error.patch %global _description \ Docutils is an open-source text processing system for processing plaintext\ @@ -94,6 +93,9 @@ popd %doc THANKS.txt docs tools/editors %changelog +* Wed Jan 12 2022 shixuantong - 0.17.1-1 +- update version to 0.17.1 + * Mon Nov 2 2020 wangjie -0.16-5 - Type:NA - ID:NA