In koji_utils we have:
koji_utils
if not debuginfo: rpms = [r for r in rpms if not r['name'].endswith('-debuginfo')]
However, there seem to be some exceptions:
$ yum search debuginfo --enablerepo=fedora-debuginfo | grep debuginfo | grep -v -F -- -debuginfo. ============================ N/S matched: debuginfo ============================ kernel-debuginfo-common-x86_64.x86_64 : Kernel source files used by : kernel-debuginfo packages glibc-debuginfo-common.x86_64 : Debug information for package glibc ...: updates to installed debuginfo packages
So I guess the code should be
ends with '-debuginfo' or contains '-debuginfo-'
Adjust the code and adjust the unit tests.
This ticket had assigned some Differential requests: D222
Metadata Update from @kparal: - Issue tagged with: easyfix
Login to comment on this ticket.