On Sat, 21 Aug 2021 at 08:44, Leon Fauster via CentOS-devel centos-devel@centos.org wrote:
On 20.08.21 19:36, Carl George wrote:
Not exactly. Sometimes RHEL maintainers add digits after %dist, which results in NVRs like foo-1.0-1.module_el8.4.0+123+a0a0a0a0.1. It's not impossible to parse, but it's much more complicated that just ignoring everything after ".module".
and BTW
RH uses the plus sign after module and before %dist :
RH:qemu-img-4.2.0-48.module+el8.4.0+11909+3300d70f.3.x86_64 C8:qemu-img-4.2.0-48.module_el8.4.0+885+5e18b468.3.x86_64
is this intentional?
As far as I know it is intentional to make it clearer to parsing tools that there was a difference. If they used a _ that would break some existing tools and if they used . (dot) it would break a lot more. Using the + was found to break the least of the ones that were being looked at in Fedora 27? days when this was being set up. [Basically various versions were tried, various tools were tested and all kinds of fun and 'laughter' when you find that your Nagios, corporate antivirus, etc now assumes your architecture is .885 versus .x86_64 or some other item.