[opensuse-buildservice] getting Requires while in build stage
Hi all, The packages compiled on OBS gathers automatically their Requires(I guess after the build with ldd?) Is there any known way to see all required packages during build stage? -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Montag, 3. Juni 2013, 15:35:18 wrote Damian Ivanov:
Hi all,
The packages compiled on OBS gathers automatically their Requires(I guess after the build with ldd?)
That is not an OBS feature, but usually a feature of the user rpmbuild .
Is there any known way to see all required packages during build stage?
Do you look for osc buildinfo $repo $arch ? use osc buildinfo -d ... to see why some package gets pulled. -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Hi,
Thanks for the fast answer. No e.g app XY requires libfoo. libfoo is
not in the Requires: in the .spec file, rpm finds the dependencies
itself. Is there a way I can get these requires found by rpm during
build or install stage?
2013/6/3 Adrian Schröter
On Montag, 3. Juni 2013, 15:35:18 wrote Damian Ivanov:
Hi all,
The packages compiled on OBS gathers automatically their Requires(I guess after the build with ldd?)
That is not an OBS feature, but usually a feature of the user rpmbuild .
Is there any known way to see all required packages during build stage?
Do you look for
osc buildinfo $repo $arch
? use
osc buildinfo -d ...
to see why some package gets pulled.
-- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Montag, 3. Juni 2013, 16:23:54 wrote Damian Ivanov:
Hi,
Thanks for the fast answer. No e.g app XY requires libfoo. libfoo is not in the Requires: in the .spec file, rpm finds the dependencies itself. Is there a way I can get these requires found by rpm during build or install stage?
This depends on the use rpmbuild and installed additional scripts. On SUSE systems the scripts in /usr/lib/rpm/find-* do handle the automatic dependency creation. They can be executed also manually. -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Hi all,
for the record /usr/lib/rpm/find-* didn't do what I want but in the
install section simply running ldd was what I wanted :)
2013/6/3 Adrian Schröter
On Montag, 3. Juni 2013, 16:23:54 wrote Damian Ivanov:
Hi,
Thanks for the fast answer. No e.g app XY requires libfoo. libfoo is not in the Requires: in the .spec file, rpm finds the dependencies itself. Is there a way I can get these requires found by rpm during build or install stage?
This depends on the use rpmbuild and installed additional scripts. On SUSE systems the scripts in
/usr/lib/rpm/find-*
do handle the automatic dependency creation. They can be executed also manually.
-- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (2)
-
Adrian Schröter
-
Damian Ivanov