These dependencies that are listed in rpm -qp -requires <pkg>.rpm
are virtual packages if automatic dependencies is specified in <pkg>.spec
file. These virtual packages are NOT library soname
but rather just virtual package names (even though they look like soname
).
e.g. on Fedora 27, this works
$ rpm -q --whatprovides "libQt5Core.so.5()(64bit)"
qt5-qtbase-5.9.2-5.fc27.x86_64
but this doesn't
$ rpm -q --whatprovides libQt5Core.so.5
no package provides libQt5Core.so.5
$ rpm -q --whatprovides libQt5Core
no package provides libQt5Core
$ rpm -q --whatprovides Qt5Core
no package provides Qt5Core
If your own <pkg>.rpm
itself bundles the libraries (i.e. provides these virtual packages) then RPM will not complain if these virtual packages are not installed on the system since they are supplied with your package.