commit yum for openSUSE:Factory
Hello community, here is the log from the commit of package yum for openSUSE:Factory checked in at Mon May 31 18:20:42 CEST 2010. -------- --- yum/yum.changes 2010-04-15 11:46:45.000000000 +0200 +++ /mounts/work_src_done/STABLE/yum/yum.changes 2010-05-20 12:53:00.000000000 +0200 @@ -1,0 +2,7 @@ +Thu May 20 12:50:10 CEST 2010 - mls@suse.de + +- old yum versions throw an error if a package in rpmmd metadata does + not contain a rpm:sourcerpm element. Thus we add an empty element + if we generate output with the old "sha" checksum type. + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- yum-3.2.25-add-sourcerpm-for-old-yum.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yum.spec ++++++ --- /var/tmp/diff_new_pack.GHWnY8/_old 2010-05-31 18:20:33.000000000 +0200 +++ /var/tmp/diff_new_pack.GHWnY8/_new 2010-05-31 18:20:33.000000000 +0200 @@ -21,7 +21,7 @@ Name: yum BuildRequires: dbus-1 intltool python-devel Version: 3.2.25 -Release: 3 +Release: 4 Summary: RPM installer/updater Group: System/Packages License: GPLv2+ @@ -34,6 +34,7 @@ Patch2: yum-3.2.25-suse-changelogs.patch Patch3: yum-3.2.25-suse-missing-tags.patch Patch4: yum-3.2.25-disable-annoying-debug-info.patch +Patch5: yum-3.2.25-add-sourcerpm-for-old-yum.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: rpm >= 4.4.0 Requires: rpm-python @@ -102,6 +103,7 @@ %patch2 %patch3 %patch4 +%patch5 %ifnarch %{ix86} for i in rpmUtils yum ++++++ yum-3.2.25-add-sourcerpm-for-old-yum.patch ++++++ --- ./yum/packages.py.orig 2010-05-20 10:47:50.000000000 +0000 +++ ./yum/packages.py 2010-05-20 10:48:03.000000000 +0000 @@ -894,6 +894,12 @@ class YumAvailablePackage(PackageObject, if self.sourcerpm: msg += """ <rpm:sourcerpm>%s</rpm:sourcerpm>\n""" % misc.to_xml(self.sourcerpm) + else: + # old yum complains if there is no sourcerpm element. we misuse the checksum + # field to find out if we create metadata for old yum versions + (csum_type, csum, csumid) = self.checksums[0] + if csum_type == "sha": + msg += """ <rpm:sourcerpm/>\n""" msg +=""" <rpm:header-range start="%s" end="%s"/>""" % (self.hdrstart, self.hdrend) msg += self._dump_pco('provides') ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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