rpmbuild can automatically detect dependencies by looking at the shared libraries needed for the binaries included in the package, and although this is good, think almost every time, there is a time when this is undesirable, but only for some specific libraries. I mean the case when some binaries require libraries that are not provided to the system through rpm package management, but are installed directly by third-party installers.
Now the question arises: is there a way to keep the active autodetection function (useful for other binaries in the package), but ignore / delete only these specific libraries?
Sort of
AutoReqIgnore : library1 AutoReqIgnore : library2
source share