There seems to be a regression related to this RFE introduced in RHEL-8 https://issues.redhat.com/browse/RHELPLAN-28430
Please provide the package NVR for which bug is seen:
rpm-4.19.1.1-2.el10.x86_64
elfutils-0.191-5.el10.x86_64
redhat-rpm-config-285-1.el10.noarch
How reproducible: always
Steps to reproduce
Expected results:
Test passes and 'rpm.log' (with the output of `rpm -qpl /root/rpmbuild/RPMS/x86_64/kmod-lkm_example-1.0-1.x86_64.rpm`) should contain
/lib/modules/6.10.0-15.el10.x86_64/lkm_example/lkm_example.ko.xz /usr/lib/.build-id /usr/lib/.build-id/*
Actual results:
Only
/lib/modules/6.10.0-15.el10.x86_64/lkm_example/lkm_example.ko.xz