diff --git a/docutils-0.19.tar.gz b/docutils-0.19.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..6f9521ec6c0501de33b5f98cfbfdec78d44308e7 Binary files /dev/null and b/docutils-0.19.tar.gz differ diff --git a/docutils-0.20.tar.gz b/docutils-0.20.tar.gz deleted file mode 100644 index bfb09cc84fdb5998db360ea48362973832f86433..0000000000000000000000000000000000000000 Binary files a/docutils-0.20.tar.gz and /dev/null differ diff --git a/python-docutils.spec b/python-docutils.spec index 7880d54561a433c9d046a97021e04b7e546d57d5..7d041431323c69de6f6e57a8ba2d7fed4b866040 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 +Version: 0.19 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/e6/a9/8ddfaa7a9414e42520e0041d1354ebda699e4eb1b47e2f1b6d8bda66aba6/docutils-0.20.tar.gz +Source0: https://files.pythonhosted.org/packages/6b/5c/330ea8d383eb2ce973df34d1239b3b21e91cd8c865d21ff82902d952f91f/docutils-0.19.tar.gz BuildArch: noarch %description @@ -51,44 +51,36 @@ if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi -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 python3 test/alltests.py -%files -n python3-docutils -f filelist.lst -%dir %{python3_sitelib}/* +%files -n python3-docutils +%license COPYING.txt licenses/* +%doc README.* %{_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 +%doc BUGS.txt FAQ.txt HISTORY.txt README.txt RELEASE-NOTES.txt THANKS.txt %changelog +* Fri Jul 28 2023 Dongxing Wang - 0.19-1 +- Update package to version 0.19 + * Thu Jul 27 2023 zhuofeng - 0.20-1 - Update package to version 0.20