[planet] Add feedparser patch.
Jon Ciesla
limb at fedoraproject.org
Tue Jan 20 16:04:36 UTC 2015
commit 315a14f962b8c6e8e2ec67de108ec629ab602e63
Author: Jon Ciesla <limburgher at gmail.com>
Date: Tue Jan 20 10:03:19 2015 -0600
Add feedparser patch.
planet-feedparser.patch | 11 +++++++++++
planet.spec | 3 +++
2 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/planet-feedparser.patch b/planet-feedparser.patch
new file mode 100644
index 0000000..cf616cf
--- /dev/null
+++ b/planet-feedparser.patch
@@ -0,0 +1,11 @@
+--- planet/__init__.py
++++ planet/__init__.py 2015-01-19 15:43:01.586972860 +0100
+@@ -643,7 +643,7 @@
+ log.info("Updating feed %s", self.feed_information())
+
+ self.url_etag = info.has_key("etag") and info.etag or None
+- self.url_modified = info.has_key("modified") and info.modified or None
++ self.url_modified = info.has_key("modified_parsed") and info.modified_parsed or None
+ if self.url_etag is not None:
+ log.debug("E-Tag: %s", self.url_etag)
+ if self.url_modified is not None:
diff --git a/planet.spec b/planet.spec
index 98748da..ff0629f 100644
--- a/planet.spec
+++ b/planet.spec
@@ -11,6 +11,7 @@ URL: http://www.planetplanet.org/
Source0: http://www.planetplanet.org/download/%{name}-%{version}.tar.bz2
Patch1: planet-1.0-no-shebang.patch
Patch2: planet-js-sanitize.patch
+Patch3: planet-feedparser.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -32,6 +33,7 @@ in unlimited formats based on a series of templates.
%setup -q
%patch1 -p1 -b .no-shebang
%patch2 -p0 -b .js-sanitize
+%patch3 -p0 -b .feedparser
# Fix line endings.
%{__sed} -i 's/\r//' LICENCE
@@ -77,6 +79,7 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Mon Jan 23 2015 Jon Ciesla <limburgher at gmail.com> - 2.0-21
- Unbundle feedparser, BZ 1183676.
+- Patch for latest feedparser.
* Mon Jan 23 2015 Jon Ciesla <limburgher at gmail.com> - 2.0-20
- Drop timeoutsocket.py to fix BZ 498456.
More information about the scm-commits
mailing list