[Freeipa-devel] import rpm causes failure during IPA caless install
Alexander Bokovoy
abokovoy at redhat.com
Fri Jan 8 13:28:38 UTC 2016
On Fri, 08 Jan 2016, Jan Cholasta wrote:
>>>I would be surprised if NSS was used in this particular function.
>>>
>>I will try it
>
>No NSS here: <https://github.com/rpm-software-management/rpm/blob/master/lib/rpmvercmp.c>
>
>Anyway, the function looks simple, so it might be safer to just
>rewrite it to Python, with no new dependencies.
Still, we need to be careful in a case where RPM team would decide to
upgrade rpm version comparison algorithm. It has been fixed for quite
some years (the core wasn't changed since 2008) but occasionally there
are additions that expand supported formats like addition of dpkg-style
versions in 2012.
--
/ Alexander Bokovoy
More information about the Freeipa-devel
mailing list