Re: runtime dependencies not in Requires spec section

2021-01-05 Thread Rex Dieter
Kevin Kofler via devel wrote: > Rex Dieter wrote: >> It's a linked library, so *yes*, rpmbuild will add it. > > Depends on whether the application links directly to libQt5Svg.so.5 or > whether it uses it only through the plugin-based imageformats In this context, for the software/package in ques

Re: runtime dependencies not in Requires spec section

2021-01-04 Thread Kevin Kofler via devel
Rex Dieter wrote: > It's a linked library, so *yes*, rpmbuild will add it. Depends on whether the application links directly to libQt5Svg.so.5 or whether it uses it only through the plugin-based imageformats API (libqsvg.so). (And there's also the iconengines/libqsvgicon.so plugin.) Kev

Re: runtime dependencies not in Requires spec section

2021-01-04 Thread Rex Dieter
Vitaly Zaitsev via devel wrote: > On 30.12.2020 22:49, Germano Massullo wrote: >> My question is: how can keepassxc trigger the installation of such >> libraries if the spec file does not contain any Requires dependency that >> should be the attribute to identify runtime dependencies that are need

Re: runtime dependencies not in Requires spec section

2021-01-03 Thread Zbigniew Jędrzejewski-Szmek
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 >

Re: runtime dependencies not in Requires spec section

2021-01-02 Thread Germano Massullo
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 > packag

Re: runtime dependencies not in Requires spec section

2020-12-31 Thread Vitaly Zaitsev via devel
On 30.12.2020 22:49, Germano Massullo wrote: My question is: how can keepassxc trigger the installation of such libraries if the spec file does not contain any Requires dependency that should be the attribute to identify runtime dependencies that are needed by the package? Yes, it must. Qt5Sv

Re: runtime dependencies not in Requires spec section

2020-12-31 Thread Vitaly Zaitsev via devel
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. -- Sincerely, Vitaly Zaitsev (vit...@easycodi

Re: runtime dependencies not in Requires spec section

2020-12-30 Thread Jerry James
On Wed, Dec 30, 2020 at 2:49 PM Germano Massullo wrote: > I am one of the keepassxc maintainers. Bugreport > > "Missing dependency: qt5-qtsvg libQt5Svg.so.5" > https://bugzilla.redhat.com/show_bug.cgi?id=1911210 > > made me wonder about the following thing: > > I just installed a basic Fedora ser

runtime dependencies not in Requires spec section

2020-12-30 Thread Germano Massullo
I am one of the keepassxc maintainers. Bugreport "Missing dependency: qt5-qtsvg libQt5Svg.so.5" https://bugzilla.redhat.com/show_bug.cgi?id=1911210 made me wonder about the following thing: I just installed a basic Fedora server to do a test concerning keepassxc libs. Keepassxc spec file [1] doe