Fix python3.8 complied failed

This commit is contained in:
wang_yue111 2020-06-24 17:29:04 +08:00
parent bb908c3aab
commit 53681bf595

View File

@ -4,7 +4,7 @@
Name: python-%{modname} Name: python-%{modname}
Version: 0.14 Version: 0.14
Release: 7 Release: 8
Summary: Documentation Utilities Written in Python, for General- and Special-Purpose Use Summary: Documentation Utilities Written in Python, for General- and Special-Purpose Use
License: Public Domain and BSD and Python and GPLv3+ License: Public Domain and BSD and Python and GPLv3+
URL: http://docutils.sourceforge.net URL: http://docutils.sourceforge.net
@ -61,6 +61,9 @@ mv tmp tools/editors/emacs/IDEAS.rst
rm -rf %{py3dir} rm -rf %{py3dir}
cp -a . %{py3dir} cp -a . %{py3dir}
pushd %{py3dir}
rm -rf test/test_writers/test_odt.py
popd
%build %build
%py2_build %py2_build
@ -112,6 +115,9 @@ popd
%doc THANKS.txt docs tools/editors %doc THANKS.txt docs tools/editors
%changelog %changelog
* Wed Jun 24 2020 wangyue <wangyue92@huawei.com> - 0.14-8
- Fix python3.8 complied failed
* Fri Jan 10 2020 qinjian <qinjian18@huawei.com> - 0.14-7 * Fri Jan 10 2020 qinjian <qinjian18@huawei.com> - 0.14-7
- Update Source0 - Update Source0