Hello community, here is the log from the commit of package python-feedparser for openSUSE:11.3 checked in at Tue May 31 15:52:15 CEST 2011.
-------- --- old-versions/11.3/UPDATES/all/python-feedparser/python-feedparser.changes 2011-04-20 20:17:51.000000000 +0200 +++ 11.3/python-feedparser/python-feedparser.changes 2011-05-30 21:07:59.000000000 +0200 @@ -1,0 +2,5 @@ +Mon May 30 19:06:15 UTC 2011 - [email protected] + +- Fix bnc#696287 - Latest (patched) python-feedparser introduces a new bug: empty feeds + +------------------------------------------------------------------- calling whatdependson for 11.3-i586 New: ---- feedparser-bnc696287.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-feedparser.spec ++++++ --- /var/tmp/diff_new_pack.btyJik/_old 2011-05-31 15:51:43.000000000 +0200 +++ /var/tmp/diff_new_pack.btyJik/_new 2011-05-31 15:51:43.000000000 +0200 @@ -20,7 +20,7 @@ Name: python-feedparser Version: 4.1 -Release: 6.<RELEASE5> +Release: 6.<RELEASE7> Summary: Universal Feed Parser Module for Python Url: http://sourceforge.net/projects/feedparser/ License: BSD @@ -31,6 +31,7 @@ Patch2: feedparser-issue254-CVE-2011-1157.patch Patch3: feedparser-issue91-CVE-2011-1156.patch Patch4: feedparser-bnc688878.diff +Patch5: feedparser-bnc696287.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %{py_requires} BuildRequires: python-devel python-setuptools @@ -54,6 +55,7 @@ %patch2 -p1 %patch3 -p1 %patch4 +%patch5 chmod 0644 README %build ++++++ feedparser-bnc696287.diff ++++++ Index: feedparser.py =================================================================== --- feedparser.py.orig +++ feedparser.py @@ -1676,9 +1676,6 @@ class _HTMLSanitizer(_BaseHTMLProcessor) if key == u'href': value = _makeSafeAbsoluteURI(value) clean_attrs.append((key,value)) - elif key=='style': - clean_value = self.sanitize_style(value) - if clean_value: clean_attrs.append((key,clean_value)) _BaseHTMLProcessor.unknown_starttag(self, tag, clean_attrs) def unknown_endtag(self, tag): ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
