rpms/python-feedparser/EL-5 democracynow_feedparser_fix.patch, NONE, 1.1 python-feedparser.spec, 1.5, 1.6
Konstantin Ryabitsev
icon at fedoraproject.org
Fri Aug 7 12:53:59 UTC 2009
Author: icon
Update of /cvs/extras/rpms/python-feedparser/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv17106/EL-5
Modified Files:
python-feedparser.spec
Added Files:
democracynow_feedparser_fix.patch
Log Message:
Apply patch for title-munging issue (#491373)
democracynow_feedparser_fix.patch:
feedparser.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- NEW FILE democracynow_feedparser_fix.patch ---
--- feedparser.py.orig 2007-12-28 00:59:15.000000000 +0100
+++ feedparser.py 2007-12-28 00:59:46.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'
Index: python-feedparser.spec
===================================================================
RCS file: /cvs/extras/rpms/python-feedparser/EL-5/python-feedparser.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -p -r1.5 -r1.6
--- python-feedparser.spec 5 Jun 2009 14:12:35 -0000 1.5
+++ python-feedparser.spec 7 Aug 2009 12:53:59 -0000 1.6
@@ -2,7 +2,7 @@
Name: python-feedparser
Version: 4.1
-Release: 9%{?dist}
+Release: 10%{?dist}
Summary: Parse RSS and Atom feeds in Python
Group: Development/Languages
@@ -10,6 +10,7 @@ License: BSD
URL: http://feedparser.org/
Source0: http://feedparser.googlecode.com/files/feedparser-%{version}.zip
Patch0: feedparser_utf8_decoding.patch
+Patch1: democracynow_feedparser_fix.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -26,6 +27,7 @@ modules, including Dublin Core and Apple
%prep
%setup -q -c
%patch0 -p0 -b .utf8_decoding
+%patch1 -p0 -b .title_munging
find -type f -exec sed -i 's/\r//' {} ';'
find -type f -exec chmod 0644 {} ';'
@@ -52,6 +54,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Fri Aug 07 2009 Konstantin Ryabitsev <icon at fedoraproject.org> - 4.1-10
+- Apply patch for title munging issue (#491373)
+
* Wed Jun 03 2009 Luke Macken <lmacken at redhat.com> - 4.1-9
- Use setuptools to generate egg-info
More information about the fedora-extras-commits
mailing list