Hello community, here is the log from the commit of package createrepo checked in at Wed Jan 10 17:47:00 CET 2007. -------- --- createrepo/createrepo.changes 2006-08-17 16:53:14.000000000 +0200 +++ /mounts/work_src_done/NOARCH/createrepo/createrepo.changes 2007-01-10 15:09:21.000000000 +0100 @@ -1,0 +2,6 @@ +Wed Jan 10 15:07:19 CET 2007 - cthiel@suse.de + +- added createrepo-EVR.patch to make _stringToVersion match rpm's parseEVR + behavior (#228522) + +------------------------------------------------------------------- New: ---- createrepo-EVR.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ createrepo.spec ++++++ --- /var/tmp/diff_new_pack.d12138/_old 2007-01-10 17:46:38.000000000 +0100 +++ /var/tmp/diff_new_pack.d12138/_new 2007-01-10 17:46:38.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package createrepo (Version 0.4.6) # -# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # @@ -13,14 +13,15 @@ Name: createrepo BuildRequires: python Version: 0.4.6 -Release: 3 -License: GPL +Release: 35 +License: GNU General Public License (GPL) Summary: Creates a Common Metadata Repository Group: System/Packages Source: %{name}-%{version}.tar.bz2 Patch: missing-tags.patch Patch1: %{name}-0.4.4-suse-changelogs.patch Patch2: license-to-confirm.patch +Patch3: createrepo-EVR.patch URL: http://linux.duke.edu/metadata/ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch @@ -45,6 +46,7 @@ %patch %patch1 %patch2 +%patch3 %install %if %{suse_version} <= 1010 @@ -72,6 +74,9 @@ %{_datadir}/%{name}/* %changelog -n createrepo +* Wed Jan 10 2007 - cthiel@suse.de +- added createrepo-EVR.patch to make _stringToVersion match rpm's parseEVR + behavior (#228522) * Thu Aug 17 2006 - cthiel@suse.de - make missing tags work on older distros again * Mon Aug 14 2006 - cthiel@suse.de ++++++ createrepo-EVR.patch ++++++ --- dumpMetadata.py +++ dumpMetadata.py @@ -321,11 +321,12 @@ def _stringToVersion(self, strng): i = strng.find(':') - if i != -1: + if i != -1 and strng[:i].isdigit(): epoch = strng[:i] else: + i = -1 epoch = self.noepoch - j = strng.find('-') + j = strng.rfind('-') if j != -1: if strng[i + 1:j] == '': version = None ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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