diff --git a/python-docutils.spec b/python-docutils.spec index 8b5c987..d05a635 100644 --- a/python-docutils.spec +++ b/python-docutils.spec @@ -1,6 +1,6 @@ Name: python-docutils Version: 0.16 -Release: 5%{?dist} +Release: 6%{?dist} Summary: System for processing plaintext documentation # See COPYING.txt for information @@ -39,9 +39,6 @@ Summary: %{summary} # Remove shebang from library files sed -i -e '/#! *\/usr\/bin\/.*/{1D}' $(grep -Erl '^#!.+python' docutils) -iconv -f ISO88592 -t UTF8 tools/editors/emacs/IDEAS.rst > tmp -mv tmp tools/editors/emacs/IDEAS.rst - # We want the licenses but don't need this build file rm -f licenses/docutils.conf @@ -52,7 +49,6 @@ rm -f licenses/docutils.conf %install %py3_install -mv docs/user/rst/images/biohazard.swf ./biohazard.swf for file in %{buildroot}/%{_bindir}/*.py; do mv $file `dirname $file`/`basename $file .py` @@ -60,21 +56,21 @@ done %check -mv biohazard.swf docs/user/rst/images/biohazard.swf %{python3} test/alltests.py -rm docs/user/rst/images/biohazard.swf %files -n python%{python3_pkgversion}-docutils %license COPYING.txt licenses/* -%doc BUGS.txt FAQ.txt HISTORY.txt README.txt RELEASE-NOTES.txt -%doc THANKS.txt docs tools/editors +%doc BUGS.txt FAQ.txt HISTORY.txt README.txt RELEASE-NOTES.txt THANKS.txt %{python3_sitelib}/docutils/ %{python3_sitelib}/docutils-%{version}-py%{python3_version}.egg-info/ %{_bindir}/rst* %changelog +* Tue Jun 22 2021 Miro HronĨok - 0.16-6 +- Stop shipping the entire docs sources, reduce the package size significantly + * Wed Jun 02 2021 Python Maint - 0.16-5 - Rebuilt for Python 3.10