This commit adds supports for sorting the plus ('+') character higher
than
base version. It's similar to what commit c7e711bba58 ("Add support for
sorting caret ('^') higher than base version") did for the caret
character.
A plus character is used for example by the Linux kernel build system to
There are cases when the `rpmvercmp()` function compares two different version
strings as equal.
For example, in some cases adding a plus `+` character at the end of the
version denotes that this version is the base version plus some changes. This
is the case of the Linux kernel build system wh
@Conan-kudo I see, I’ve mentioned #88 in issue #925 that explains the more
general issue of rpmvercmp() taking as equal versions that are really
different. And also elaborated a little bit why I needed the + character to be
taken into account.
This is just a fix for a particular case of the mor
@ffesti that's OK.
For the GRUB blscfg module we diverged from the RPM sorting algorithm and added
support for the plus character, since debug kernels contains that as a suffix
and the expectation is that the debug and non-debug kernels are not the same.
--
You are receiving this because you a
Having some of this support built-in RPM (or a set of standard macros) will be
very useful for packages like `grub2`, that not only are split in different
subpackages but also have architecture and firmware interface specific
subpackages.
Fedora's
[grub2.spec](https://src.fedoraproject.org/rpm