rpm debugedit might corrupt the debug file strings when source files have been build with gcc -g3 which generates a .debug_macro section which shares strings with the .debuginfo section. The current workaround is simply to not build with -g3, but use -g (which is the default).
Patch posted upstream: http://lists.rpm.org/pipermail/rpm-maint/2019-June/010344.html
Merged via https://github.com/rpm-software-management/rpm/pull/754 so it'll land when 4.15 beta lands in rawhide (should be next week)
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle. Changing version to '31'.
Fixed as of rpm >= 4.15.0-beta in rawhide and F31
Oops, wrong resolution.