diff -u feedparser-4.1/debian/changelog feedparser-4.1/debian/changelog --- feedparser-4.1/debian/changelog +++ feedparser-4.1/debian/changelog @@ -1,3 +1,15 @@ +feedparser (4.1-9ubuntu1) hardy; urgency=low + + * debian/patches/correct_content_type_mapping.patch: + - patch to feedparser.py to do the correct content + type mapping (LP: #179208) + (patch from Thomas Perl) + * debian/control: + - updated Maintainer field + - bumped Standards-Version to 3.7.3 + + -- Mario Bonino Sun, 30 Dec 2007 12:40:36 +0100 + feedparser (4.1-9) unstable; urgency=low * Added patch for fixing auth handlers. (Closes: #431564) diff -u feedparser-4.1/debian/patches/series feedparser-4.1/debian/patches/series --- feedparser-4.1/debian/patches/series +++ feedparser-4.1/debian/patches/series @@ -3,0 +4 @@ +correct_content_type_mapping.patch diff -u feedparser-4.1/debian/control feedparser-4.1/debian/control --- feedparser-4.1/debian/control +++ feedparser-4.1/debian/control @@ -1,12 +1,13 @@ Source: feedparser Section: python Priority: optional -Maintainer: Carlos Galisteo +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Carlos Galisteo Uploaders: Debian Python Modules Team Build-Depends: debhelper (>= 5.0.37.2), python-dev (>= 2.3.5-11), python-support (>= 0.3), quilt (>= 0.39-2) XS-Vcs-Svn: svn://svn.debian.org/python-modules/packages/feedparser/trunk XS-Vcs-Browser: http://svn.debian.org/wsvn/python-modules/packages/feedparser/?op=log -Standards-Version: 3.7.2 +Standards-Version: 3.7.3 Package: python-feedparser Architecture: all only in patch2: unchanged: --- feedparser-4.1.orig/debian/patches/correct_content_type_mapping.patch +++ feedparser-4.1/debian/patches/correct_content_type_mapping.patch @@ -0,0 +1,13 @@ +Index: feedparser-4.1/feedparser.py +=================================================================== +--- feedparser-4.1.orig/feedparser.py 2007-12-30 12:40:00.000000000 +0100 ++++ feedparser-4.1/feedparser.py 2007-12-30 12:40:12.000000000 +0100 +@@ -563,7 +563,7 @@ + + def mapContentType(self, contentType): + contentType = contentType.lower() +- if contentType == 'text': ++ if contentType == 'text' or contentType == 'plain': + contentType = 'text/plain' + elif contentType == 'html': + contentType = 'text/html'