[Rpm-metadata] [patch] fix to make _stringToVersion match rpm's parseEVR behavior
skvidal at linux.duke.edu
Wed Jan 10 15:24:56 UTC 2007
On Wed, 2007-01-10 at 10:19 -0500, Jeff Johnson wrote:
> 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".
hmm. I always thought epochs could be like any other value in the evr
fields. I thought that floats would work but it appears to be integers
in that case the patch looks fine.
More information about the Rpm-metadata