Once upon a time, Jeff Johnson n3npq@nc.rr.com said:
Adding
%define _use_internal_dependency_generator 0
is very much the wrong thing to do with any package that includes elf32/elf64 modules.
And there is loss of functionality if/when %_use_internal_dependency_generator is used for any package, as dependencies are not attached to files.
The mechanism was intended to to assist bootstrapping multilib, not for serious packaging usage.
So how do you override bogus auto-generated dependencies? For perl modules, it is not practical to have to patch out bits of code that won't be called on a particular platform just to avoid invalid dependencies.
I suggested a "NoRequires:" for RPM a while back but got shot down. AFAIK the only way to do it today is to use the above %define and filter things out.