File project.diff of Package python-docutils
--- python-docutils.spec.orig +++ python-docutils.spec @@ -1,7 +1,7 @@ # -# spec file +# spec file for package python-docutils # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -71,6 +71,8 @@ sed -i -e "1d" "docutils/utils/$i.py" done sed -i -e "1d" "docutils/writers/xetex/__init__.py" "docutils/writers/_html_base.py" rm ./docs/dev/.release.txt.swp +# Remove invalid XML entity (libvirt build fails) +sed -i -e "s/ <http/, see http/; s/2>/2/" "docutils/writers/html5_polyglot/plain.css" %build %python_build