Project

Profile

Help

Issue #4869

Updated by ttereshc about 2 years ago

According to information from modularity folks RPMTAG_DISTTAG is no longer in use for modularity purposes.
"RPMTAG_MODULARITYLABEL":https://github.com/rpm-software-management/rpm/commit/8390fa8515f499994646cf3bd113423744dc7bd9 RPMTAG_MODULARITYLABEL should be used instead.

This affects applicability calculations which rely on the correct identification of modular RPMs.
The affect is not huge, most modular RPMs are identified as such at sync time using metadata.

It's not clear which verison of rpm supports this tag. This tag is supported in old versions of rpm, just the name is not exposed and numeric key should issue will be used: updated accordingly.
The constant rpm. RPMTAG_MODULARITYLABEL is not available on Centos7 and < F30, instead the id if the header @5096@ So far it can be used directly: @headers[5096]@.
found in the "C code of rpm":https://github.com/rpm-software-management/rpm/commit/8390fa8515f499994646cf3bd113423744dc7bd9

Back