Hello community, here is the log from the commit of package repoview checked in at Sun Feb 25 23:37:16 CET 2007. -------- --- repoview/repoview.changes 2007-01-15 09:55:13.000000000 +0100 +++ /mounts/work_src_done/STABLE/repoview/repoview.changes 2007-02-23 14:17:54.000000000 +0100 @@ -1,0 +2,6 @@ +Fri Feb 23 14:14:27 CET 2007 - cthiel@suse.de + +- pass fragment argument to serialize() in order to avoid XML declaration in + wrong places (fixes #217917) + +------------------------------------------------------------------- New: ---- repoview-0.5.2-serialize.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ repoview.spec ++++++ --- /var/tmp/diff_new_pack.n12678/_old 2007-02-25 23:37:09.000000000 +0100 +++ /var/tmp/diff_new_pack.n12678/_new 2007-02-25 23:37:09.000000000 +0100 @@ -13,7 +13,7 @@ Name: repoview BuildRequires: python-devel Version: 0.5.2 -Release: 33 +Release: 37 Summary: Creates a set of static HTML pages in a yum repository for easy browsing Group: System/Packages License: GNU General Public License (GPL) @@ -26,6 +26,7 @@ Patch3: %{name}-0.5.2-yum-2.9.patch Patch4: %{name}-0.5.2-size_package.patch Patch5: %{name}-SimpleXMLWriter.patch +Patch6: %{name}-0.5.2-serialize.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: python-kid Requires: yum @@ -49,6 +50,7 @@ %patch3 %patch4 %patch5 +%patch6 %install mkdir -p -m 755 $RPM_BUILD_ROOT/%{_datadir}/%{name} @@ -71,7 +73,10 @@ %{_datadir}/%{name} %{py_sitedir}/SimpleXMLWriter.py -%changelog -n repoview +%changelog +* Fri Feb 23 2007 - cthiel@suse.de +- pass fragment argument to serialize() in order to avoid XML declaration in + wrong places (fixes #217917) * Mon Jan 15 2007 - cthiel@suse.de - removed BuildArch: noarch * Mon Jan 08 2007 - cthiel@suse.de ++++++ repoview-0.5.2-serialize.patch ++++++ --- repoview.py +++ repoview.py @@ -779,7 +779,7 @@ w.element('category', pkg.n) w.element('category', pkg.group.name) kobj.package = pkg - description = kobj.serialize() + description = kobj.serialize(fragment=True, encoding='ascii', output='xml') w.element('description', description) w.end() w.end() ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de