Jerry James wrote:
RPM can query ELF objects (executables and shared libraries) to find
DT_NEEDED fields. That gives it a list of libraries that are depended
on directly. It generates Requires for those dependencies
automatically; see /usr/lib/rpm/find-requires. So the keepassxc
package does contain Requires, they just don't appear explicitly in
the spec file (and shouldn't).
So this explains the difference with Python packages that instead many
times need Requires.
Vitaly Zaitsev wrote:
On 30.12.2020 23:01, Jerry James wrote:
> RPM can query ELF objects (executables and shared libraries) to find
> DT_NEEDED fields. That gives it a list of libraries that are depended
> on directly.
Except for Qt5Svg, because it is a Qt runtime plugin.
Actually Qt5Svg does not need Requires
https://bugzilla.redhat.com/show_bug.cgi?id=1911210#c1