Hello community, here is the log from the commit of package createrepo checked in at Wed May 16 16:23:34 CEST 2007. -------- --- createrepo/createrepo.changes 2007-05-08 13:03:11.000000000 +0200 +++ /mounts/work_src_done/NOARCH/createrepo/createrepo.changes 2007-05-15 16:52:48.645719000 +0200 @@ -1,0 +2,5 @@ +Tue May 15 16:51:13 CEST 2007 - cthiel@suse.de + +- improve createrepo-0.4.8-cachefix.patch to work on older distros + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ createrepo.spec ++++++ --- /var/tmp/diff_new_pack.K10030/_old 2007-05-16 16:23:27.000000000 +0200 +++ /var/tmp/diff_new_pack.K10030/_new 2007-05-16 16:23:27.000000000 +0200 @@ -13,7 +13,7 @@ Name: createrepo BuildRequires: python Version: 0.4.8 -Release: 16 +Release: 19 License: GNU General Public License (GPL) Summary: Creates a Common Metadata Repository Group: System/Packages @@ -83,6 +83,8 @@ %{_datadir}/%{name}/* %changelog +* Tue May 15 2007 - cthiel@suse.de +- improve createrepo-0.4.8-cachefix.patch to work on older distros * Tue May 08 2007 - cthiel@suse.de - added createrepo-0.4.8-cache_utime.patch: touch cache files after using them * Tue May 08 2007 - cthiel@suse.de ++++++ createrepo-0.4.8-cachefix.patch ++++++ --- /var/tmp/diff_new_pack.K10030/_old 2007-05-16 16:23:27.000000000 +0200 +++ /var/tmp/diff_new_pack.K10030/_new 2007-05-16 16:23:27.000000000 +0200 @@ -1,15 +1,18 @@ --- dumpMetadata.py +++ dumpMetadata.py -@@ -595,9 +595,13 @@ +@@ -595,9 +595,16 @@ if not self.options['cache']: return getChecksum(self.options['sumtype'], fo) - key = "".join([hex(ord(x))[2:].zfill(2) - for x in tuple(self.hdr[rpm.RPMTAG_SIGMD5])]) + t = [] -+ t.append("".join(self.hdr[rpm.RPMTAG_SIGGPG])) -+ t.append("".join(self.hdr[rpm.RPMTAG_SIGPGP])) -+ t.append("".join(self.hdr[rpm.RPMTAG_HDRID])) ++ if type(self.hdr[rpm.RPMTAG_SIGGPG]) is not types.NoneType: ++ t.append("".join(self.hdr[rpm.RPMTAG_SIGGPG])) ++ if type(self.hdr[rpm.RPMTAG_SIGPGP]) is not types.NoneType: ++ t.append("".join(self.hdr[rpm.RPMTAG_SIGPGP])) ++ if type(self.hdr[rpm.RPMTAG_HDRID]) is not types.NoneType: ++ t.append("".join(self.hdr[rpm.RPMTAG_HDRID])) + key = md5.new("".join(t)).hexdigest() + ++++++ createrepo-0.4.8-cache_utime.patch ++++++ --- /var/tmp/diff_new_pack.K10030/_old 2007-05-16 16:23:27.000000000 +0200 +++ /var/tmp/diff_new_pack.K10030/_new 2007-05-16 16:23:27.000000000 +0200 @@ -1,6 +1,6 @@ --- dumpMetadata.py +++ dumpMetadata.py -@@ -608,7 +608,7 @@ +@@ -614,7 +614,7 @@ csumo = open(csumfile, 'r') checksum = csumo.readline() csumo.close() ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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