diff --git a/python-feedparser.changes b/python-feedparser.changes index 4dad3cc..c916a18 100644 --- a/python-feedparser.changes +++ b/python-feedparser.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Feb 7 21:02:35 UTC 2022 - Matej Cepl + +- Revert previous skip, because we have now working sgmllib3k. +- Remove test tests/wellformed/sanitize/xml_declaration_unexpected_character.xml + (gh#kurtmckee/feedparser#304) + ------------------------------------------------------------------- Sat Feb 5 16:51:47 UTC 2022 - Benjamin Greiner diff --git a/python-feedparser.spec b/python-feedparser.spec index c836b57..42f1342 100644 --- a/python-feedparser.spec +++ b/python-feedparser.spec @@ -1,7 +1,7 @@ # # spec file for package python-feedparser # -# 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 @@ -18,8 +18,6 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 -# no sgmllib3k for python 3.10 -%define skip_python310 1 Name: python-feedparser Version: 6.0.8 Release: 0 @@ -47,6 +45,12 @@ A universal feed parser module for Python that handles RSS 0.9x, RSS 1.0, RSS %prep %autosetup -p1 -n feedparser-%{version} +# Remove Python 3.10 non-compatible tests +rm -v tests/wellformed/sanitize/xml_declaration_unexpected_character.xml + +# Make tests more verbose +sed -i -e 's/verbosity=1/verbosity=2/' tests/runtests.py + %build %python_build