Yes it happens a lot, in one highly specific corner. Which is often best served
by having that specific corner handle it because it has its own wrinkles that
do not apply elsewhere, like version comparing the name here.
In principle, Debian versioning isn't *that* different from rpm. If 'sort -V'
is good enough (if not perfect) for them then it should be close enough for
government work for us too. Not that I have looked at the details, maybe the
details differ more than it seems on the outset.
Note that in rpm >= 4.16 you can also perform version comparisons from the cli
with boolean expressions, eg
> [pmatilai🎩︎localhost ~]$ rpm --eval '%[v"1.0-1" < v"2.0-1"]'
1
[pmatilai🎩︎localhost ~]$ rpm --eval '%[v"3.0-1" < v"2.0-1"]'
0
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2249#issuecomment-1298567361
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/2249/c1298567...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint