diff --git a/docutils-0.17.1.tar.gz b/docutils-0.17.1.tar.gz deleted file mode 100644 index a5974e732de3eb4f08a5221f166da695b99e198a..0000000000000000000000000000000000000000 Binary files a/docutils-0.17.1.tar.gz and /dev/null differ diff --git a/docutils-0.20.1.tar.gz b/docutils-0.20.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..9543039e113c23f078e5ddf523beebfccf0e86fa Binary files /dev/null and b/docutils-0.20.1.tar.gz differ diff --git a/python-docutils.spec b/python-docutils.spec index 8845583b274c3db423d1844fb5856c2c66de78f8..329600c0984869aa30904a1efb32a0b47cf782a3 100644 --- a/python-docutils.spec +++ b/python-docutils.spec @@ -7,12 +7,12 @@ open-document or XML. It includes reStructuredText, the easy to read, easy\ to use, what-you-see-is-what-you-get plaintext markup language. Name: python-docutils -Version: 0.17.1 -Release: 3 +Version: 0.20.1 +Release: 1 Summary: Documentation Utilities Written in Python, for General- and Special-Purpose Use License: Public Domain and BSD-2-Clause and Python and GPL-3.0-or-later URL: http://docutils.sourceforge.net -Source0: https://files.pythonhosted.org/packages/4c/17/559b4d020f4b46e0287a2eddf2d8ebf76318fd3bd495f1625414b052fdc9/docutils-0.17.1.tar.gz +Source0: https://files.pythonhosted.org/packages/1f/53/a5da4f2c5739cf66290fac1431ee52aff6851c7c8ffd8264f13affd7bcdd/docutils-0.20.1.tar.gz BuildArch: noarch %description @@ -22,7 +22,12 @@ BuildArch: noarch Summary: Documentation Utilities Written in Python, for General- and Special-Purpose Use Requires: python3-lxml Provides: python-docutils = %{version}-%{release} -BuildRequires: python3-devel + +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-wheel +BuildRequires: python3-hatchling %description -n python3-docutils %{_description} @@ -36,10 +41,10 @@ Provides: python3-docutils-doc %autosetup -n docutils-%{version} %build -%py3_build +%pyproject_build %install -%py3_install +%pyproject_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi @@ -74,6 +79,9 @@ python3 test/alltests.py %files -n python3-docutils -f filelist.lst %dir %{python3_sitelib}/* %{_bindir}/rst* +%{_bindir}/docutils +%{python3_sitelib}/docutils + %files help -f doclist.lst %{_docdir}/* @@ -81,6 +89,9 @@ python3 test/alltests.py %license COPYING.txt licenses/*.txt %changelog +* Wed Jul 12 2023 luluoc - 0.20.1-1 +- upgrade package to version 0.20.1 + * Sat Mar 4 2023 yanglongkang - 0.17.1-3 - add requires python3-lxml