update version to 0.20

This commit is contained in:
zhuofeng 2023-07-27 20:30:54 +08:00
parent 0e8e013201
commit 81fb9adcb9
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.
Name: python-docutils
Version: 0.17.1
Release: 3
Version: 0.20
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/e6/a9/8ddfaa7a9414e42520e0041d1354ebda699e4eb1b47e2f1b6d8bda66aba6/docutils-0.20.tar.gz
BuildArch: noarch
%description
@ -23,6 +23,12 @@ Summary: Documentation Utilities Written in Python, for General- and Special-Pur
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 +42,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 +80,8 @@ 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
* 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
- add requires python3-lxml