diff --git a/docutils-0.20.1.tar.gz b/docutils-0.20.1.tar.gz deleted file mode 100644 index 9543039e113c23f078e5ddf523beebfccf0e86fa..0000000000000000000000000000000000000000 Binary files a/docutils-0.20.1.tar.gz and /dev/null differ diff --git a/docutils-0.21.2.tar.gz b/docutils-0.21.2.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..95aab5f148e49ad040d554fc430d8696b1db95e4 Binary files /dev/null and b/docutils-0.21.2.tar.gz differ diff --git a/python-docutils.spec b/python-docutils.spec index be607d01b8dfc8273bfbaa3109fc71cf567f57fa..136a93750759de0f2c971147758468df43605025 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.20.1 +Version: 0.21.2 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/1f/53/a5da4f2c5739cf66290fac1431ee52aff6851c7c8ffd8264f13affd7bcdd/docutils-0.20.1.tar.gz +Source0: https://files.pythonhosted.org/packages/ae/ed/aefcc8cd0ba62a0560c3c18c33925362d46c6075480bfa4df87b28e169a9/docutils-0.21.2.tar.gz BuildArch: noarch %description @@ -28,6 +28,7 @@ BuildRequires: python3-setuptools BuildRequires: python3-pip BuildRequires: python3-wheel BuildRequires: python3-hatchling +BuildRequires: python3-flit-core %description -n python3-docutils %{_description} @@ -55,40 +56,37 @@ if [ -f README.rst ]; then cp -af README.rst %{buildroot}/%{_pkgdocdir}; fi if [ -f README.md ]; then cp -af README.md %{buildroot}/%{_pkgdocdir}; fi if [ -f README.txt ]; then cp -af README.txt %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} -if [ -d usr/lib ]; then - find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst -fi -if [ -d usr/lib64 ]; then - find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst -fi - touch doclist.lst if [ -d usr/share/man ]; then - find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst + find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst fi popd -for file in %{buildroot}%{_bindir}/*.py;do - mv $file $(dirname $file)/$(basename $file .py) -done - -mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %check +export PYTHONPATH=%{buildroot}%{python3_sitelib} python3 test/alltests.py -%files -n python3-docutils -f filelist.lst -%dir %{python3_sitelib}/* +%files -n python3-docutils +%license COPYING.txt licenses/* +%doc FAQ.txt README.txt RELEASE-NOTES.txt %{_bindir}/rst* %{_bindir}/docutils %{python3_sitelib}/docutils +%{python3_sitelib}/docutils-*.dist-info/ %files help -f doclist.lst %{_docdir}/* -%doc BUGS.txt FAQ.txt HISTORY.txt README.txt RELEASE-NOTES.txt THANKS.txt tools/editors -%license COPYING.txt licenses/*.txt %changelog +* Mon Nov 25 2024 Dongxing Wang - 0.21.2-1 +- Update package with version 0.21.2 + Reconcile Docutils DTD and Document Tree documentation. + Man utf8 output uses normal "-" char(45) + Make effect of centre-aligning figures visible in functional HTML text. + Remove unrequired "python -m " for calling pip in venv + Fix: flit instead setup.py and egginfo is no longer present + * Fri Sep 1 2023 luluoc - 0.20.1-1 - upgrade package to version 0.20.1