!36 update version to 0.20

From: @zhuofeng6 
Reviewed-by: @zengwefeng 
Signed-off-by: @zengwefeng
This commit is contained in:
openeuler-ci-bot 2023-07-27 13:04:51 +00:00 committed by Gitee
commit 96d3b14ce4
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 16 additions and 5 deletions

Binary file not shown.

BIN
docutils-0.20.tar.gz Normal file

Binary file not shown.

View File

@ -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. to use, what-you-see-is-what-you-get plaintext markup language.
Name: python-docutils Name: python-docutils
Version: 0.17.1 Version: 0.20
Release: 3 Release: 1
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-2-Clause and Python and GPL-3.0-or-later License: Public Domain and BSD-2-Clause and Python and GPL-3.0-or-later
URL: http://docutils.sourceforge.net 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/e6/a9/8ddfaa7a9414e42520e0041d1354ebda699e4eb1b47e2f1b6d8bda66aba6/docutils-0.20.tar.gz
BuildArch: noarch BuildArch: noarch
%description %description
@ -23,6 +23,12 @@ Summary: Documentation Utilities Written in Python, for General- and Special-Pur
Requires: python3-lxml Requires: python3-lxml
Provides: python-docutils = %{version}-%{release} Provides: python-docutils = %{version}-%{release}
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-hatchling
%description -n python3-docutils %description -n python3-docutils
%{_description} %{_description}
@ -36,10 +42,10 @@ Provides: python3-docutils-doc
%autosetup -n docutils-%{version} %autosetup -n docutils-%{version}
%build %build
%py3_build %pyproject_build
%install %install
%py3_install %pyproject_install
install -d -m755 %{buildroot}/%{_pkgdocdir} install -d -m755 %{buildroot}/%{_pkgdocdir}
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
@ -74,6 +80,8 @@ python3 test/alltests.py
%files -n python3-docutils -f filelist.lst %files -n python3-docutils -f filelist.lst
%dir %{python3_sitelib}/* %dir %{python3_sitelib}/*
%{_bindir}/rst* %{_bindir}/rst*
%{_bindir}/docutils
%{python3_sitelib}/docutils
%files help -f doclist.lst %files help -f doclist.lst
%{_docdir}/* %{_docdir}/*
@ -81,6 +89,9 @@ python3 test/alltests.py
%license COPYING.txt licenses/*.txt %license COPYING.txt licenses/*.txt
%changelog %changelog
* Thu Jul 27 2023 zhuofeng <zhuofeng2@huawei.com> - 0.20-1
- Update package to version 0.20
* Sat Mar 4 2023 yanglongkang <yanglongkang@h-partners.com> - 0.17.1-3 * Sat Mar 4 2023 yanglongkang <yanglongkang@h-partners.com> - 0.17.1-3
- add requires python3-lxml - add requires python3-lxml