Just to clarify, you mean /usr/lib/rpm/redhat/brp-strip?
I think he meant /usr/lib/rpm/find-debuginfo.sh, but brp-strip behaves the
same way. I think brp-strip only winds up really doing anything when
debuginfo is disabled.
BTW, kernel modules get stripped only if they're executable as
well at end
of %install, that one should be an easy one to rectify even if execute bits
for shared libs are useful.
Indeed, recognizing them has only the same issues that recognizing
nonexecutable DSO files does.