On Sat, Jan 02, 2021 at 04:13:56PM +0100, Germano Massullo wrote:
> 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.

They used to, but not anymore. Modern Python packaging autogenerates
Provides/Requires based on the native Python metadata, at least in the
simple cases.

> 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

Zbyszek
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to