2011/1/27 Per Øyvind Karlsen <[email protected]>:
> 2011/1/27 Anders F Björklund <[email protected]>:
>>>> Here's my current implementation:
>>>>
>>>> Python: # ignore distepoch
>>>> C:      /* ignore distepoch */
>>> Do you have any code for it? I'm curious about how you parsed name,
>>> version, release etc.
>>> with/without disttag/distepoch
>>
>> As sent to Unity...
> Why not just do 'rc = vercmppart(d1, d2);' when already parsing distepoch
> and passing it as a new argument to the functions?
>
> That's pretty much all that's needed for supporting distepoch in version
> comparision.. :)
>
> smart will still have an issue with composing the package name in ie.
> smart/backends/rpm/base.py: search() etc. due to the extra '-' in the
> name though..

Never mind , issue for me to fix with synthesis, been a while since I last
looked at smart code..

--
Regards,
Per Øyvind
______________________________________________________________________
RPM Package Manager                                    http://rpm5.org
Developer Communication List                        [email protected]

Reply via email to