[Rpm-metadata] [patch] fix to make _stringToVersion match rpm's parseEVR behavior

Jeff Johnson n3npq at mac.com
Wed Jan 10 15:19:33 UTC 2007


On Jan 10, 2007, at 10:18 AM, seth vidal wrote:

> On Wed, 2007-01-10 at 16:11 +0100, Christoph Thiel wrote:
>> Hi there,
>>
>> while looking into one of our bugs, I found that createrepo's
>> _stringToVersion didn't match rpm's parseEVR. Please find the patch
>> attached.
>>
>
> What keeps the epoch from being an alpha?
>

Padding with leading zeroes for representing numbers.

Consider "2" compared with "10".

73 de Jeff



More information about the Rpm-metadata mailing list