summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2011-04-28 19:31:38 +0200
committerRemi Collet <fedora@famillecollet.com>2011-04-28 19:31:38 +0200
commit105443b6e925a6637057b2ff55398dec468de180 (patch)
treed0b94846ecac69f223e54e9539a7095f5c714526
parent67edc7e355675a71b44c13d709be09bc673668e7 (diff)
repoview, add patch for bug #636601HEADmaster
-rw-r--r--repoview.patch12
-rw-r--r--repoview.spec8
2 files changed, 20 insertions, 0 deletions
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 <rpms@famillecollet.com> - 0.6.5-2
+- add patch for https://bugzilla.redhat.com/636601
+
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild