forked from pool/python-feedparser
- Revert previous skip, because we have now working sgmllib3k.
- Remove test tests/wellformed/sanitize/xml_declaration_unexpected_character.xml (gh#kurtmckee/feedparser#304) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-feedparser?expand=0&rev=58
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 7 21:02:35 UTC 2022 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- 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 <code@bnavigator.de>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user