Hello,

Mark H Weaver <m...@netris.org> skribis:

> Ricardo Wurmus <rek...@elephly.net> writes:
>
>>> Currently, the package specification "linux-libre@4.1" selects version
>>> 4.13.  It should instead select version 4.1.
>>
>> We consider everthing following the “@” a version string prefix.  Since
>> versions are arbitrary strings “4.1” is considered a valid prefix of
>> “4.13”.  If a user supplied the version string “4.1.” they would get the
>> appropriate package.

I pushed a fix that I think does what we want as
348987d3d12ebaf11fdbcc3dbd56585e7d69a1f5.

Basically ‘version-prefix?’ splits a version string at dots and compares
whole components.

Thanks,
Ludo’.



Reply via email to