From 105443b6e925a6637057b2ff55398dec468de180 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 28 Apr 2011 19:31:38 +0200 Subject: repoview, add patch for bug #636601 --- repoview.patch | 12 ++++++++++++ repoview.spec | 8 ++++++++ 2 files changed, 20 insertions(+) create mode 100644 repoview.patch diff --git a/repoview.patch b/repoview.patch new file mode 100644 index 0000000..adf04e0 --- /dev/null +++ b/repoview.patch @@ -0,0 +1,12 @@ +diff -up repoview-0.6.5/repoview.py.old repoview-0.6.5/repoview.py +--- repoview-0.6.5/repoview.py.old 2011-04-28 19:26:17.523891356 +0200 ++++ repoview-0.6.5/repoview.py 2011-04-28 19:27:06.439031474 +0200 +@@ -856,7 +856,7 @@ class Repoview: + rss_kid.pkg_data = pkg_data + description = rss_kid.serialize() + etb.start('description') +- etb.data(description) ++ etb.data(description.decode('utf8')) + etb.end('description') + etb.end('item') + diff --git a/repoview.spec b/repoview.spec index 63eabe8..21f0f59 100644 --- a/repoview.spec +++ b/repoview.spec @@ -8,6 +8,9 @@ License: GPLv2+ URL: http://fedorahosted.org/repoview/ Source0: http://icon.fedorapeople.org/repoview/%{name}-%{version}.tar.gz Source1: fedora-repoview-templates.tar.gz + +Patch0: %{name}.patch + BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch @@ -29,6 +32,8 @@ sed -i -e \ "s|^DEFAULT_TEMPLATEDIR =.*|DEFAULT_TEMPLATEDIR = '%{_datadir}/%{name}/templates'|g" \ repoview.py +%patch0 -p1 -b .bug636601 + %build @@ -59,6 +64,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Thu Apr 28 2011 Remi Collet - 0.6.5-2 +- add patch for https://bugzilla.redhat.com/636601 + * Wed Feb 09 2011 Fedora Release Engineering - 0.6.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild -- cgit