[gpodder] - Add a patch to fix the 'gpo update' command, rhbz #638107, Maemo #11217

Ville-Pekka Vainio vpv at fedoraproject.org
Sun Oct 3 16:06:36 UTC 2010


commit 7031c0b8222a0928ed3ba6b9adfd3895bcf8b6f9
Author: Ville-Pekka Vainio <vpivaini at cs.helsinki.fi>
Date:   Sun Oct 3 18:48:20 2010 +0300

    - Add a patch to fix the 'gpo update' command, rhbz #638107, Maemo #11217

 ...-b407353260c7b7dc12b8f68c97f96f2c3eb8738b.patch |   25 ++++++++++++++++++++
 gpodder.spec                                       |    8 +++++-
 2 files changed, 32 insertions(+), 1 deletions(-)
---
diff --git a/gpodder.git-b407353260c7b7dc12b8f68c97f96f2c3eb8738b.patch b/gpodder.git-b407353260c7b7dc12b8f68c97f96f2c3eb8738b.patch
new file mode 100644
index 0000000..db36987
--- /dev/null
+++ b/gpodder.git-b407353260c7b7dc12b8f68c97f96f2c3eb8738b.patch
@@ -0,0 +1,25 @@
+From b407353260c7b7dc12b8f68c97f96f2c3eb8738b Mon Sep 17 00:00:00 2001
+From: Thomas Perl <thp at thpinfo.com>
+Date: Mon, 30 Aug 2010 13:29:30 +0200
+Subject: [PATCH] Fix the "gpo update" command (Maemo bug 11217)
+
+---
+ src/gpodder/api.py |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/src/gpodder/api.py b/src/gpodder/api.py
+index 173e97a..c892dd3 100644
+--- a/src/gpodder/api.py
++++ b/src/gpodder/api.py
+@@ -81,7 +81,7 @@ class Podcast(object):
+         adds new episodes and updated information to the database.
+         """
+         self._podcast.update(self._manager._config.max_episodes_per_feed, \
+-                self._config.mimetype_prefs)
++                self._manager._config.mimetype_prefs)
+ 
+ 
+ 
+-- 
+1.6.5.GIT
+
diff --git a/gpodder.spec b/gpodder.spec
index cd94afd..5d73d81 100644
--- a/gpodder.spec
+++ b/gpodder.spec
@@ -3,13 +3,15 @@
 
 Name:           gpodder
 Version:        2.8
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Podcast receiver/catcher written in Python
 
 Group:          Applications/Multimedia
 License:        GPLv3
 URL:            http://gpodder.berlios.de/
 Source0:        http://download.berlios.de/%{name}/%{name}-%{version}.tar.gz
+# rhbz #638107
+Patch0:         gpodder.git-b407353260c7b7dc12b8f68c97f96f2c3eb8738b.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  python-devel, python-feedparser, python-mygpoclient >= 1.4
@@ -30,6 +32,7 @@ It also optionally supports syncing with ipods.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 make messages
@@ -79,6 +82,9 @@ fi
 %{python_sitelib}/%{name}*.egg-info
 
 %changelog
+* Sun Oct 03 2010 Ville-Pekka Vainio <vpivaini AT cs.helsinki.fi> - 2.8-2
+- Add a patch to fix the 'gpo update' command, rhbz #638107, Maemo #11217
+
 * Sun Aug 29 2010 Ville-Pekka Vainio <vpivaini AT cs.helsinki.fi> - 2.8-1
 - New upstream release
 - Remove both patches, upstreamed


More information about the scm-commits mailing list