Thinking about this a bit more, the implementation of this feature simply seems to be wrong. RPM already has a final stage where it strips ELF files and builds debuginfo. Why wasn't the addition of package notes done there?
So my concrete proposal:
- Revert this change now
- Move the change to F37
- Work with us to help list all of the packages that have been broken by this change and help us to rebuild them all
- Change the way it works so it doesn't affect build flags
Rich.