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

Jeff Johnson n3npq at mac.com
Wed Jan 10 15:46:49 UTC 2007


On Jan 10, 2007, at 10:41 AM, Christoph Thiel wrote:

> On Wed, Jan 10, 2007 at 10:38:31AM -0500, Jeff Johnson wrote:
>>
>> On Jan 10, 2007, at 10:36 AM, Christoph Thiel wrote:
>>
>>>
>>> The actual problem only exists, if Epoch isn't set, but Version
>>> contains
>>> something like "10a:1".
>>>
>>
>> Ick.
>>
>> Do you actually have a package with a version containing a ':'?
>>
>> If so, I will create a new exhibit in my Packaging Hall of Shame ...
>
> We don't -- fortunately :) But rumor has it, some people put ':' into
> version.
>

Kill on sight if/when you encounter the source of the rumor.

FWIW, appended arch strings in version and/or/release are problematic
parsing as well. E.g.
     Provides: foo.i386

Multilib sux ...

73 de Jeff




More information about the Rpm-metadata mailing list