[opensuse-buildservice] obs pulls in both BuildRequires and Requires
Hi all, I'm a little confused. Does OBS pull in both BuildRequires and Requires when making a package? And if so, is there a way to specify to only use BuildRequires? -- later, Robert Xu -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Mon, Jul 19, 2010 at 04:48:27PM -0400, Robert Xu wrote:
Hi all,
I'm a little confused. Does OBS pull in both BuildRequires and Requires when making a package? And if so, is there a way to specify to only use BuildRequires?
Of the currently building package ... only BuildRequires. Of the Buildrequired packages: everything. To mask out specific packages, use either the projectconfig or BuildRequires: -package or so. (or was it #!BuildIgnore: package ? Ciao, marcus -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Mon, Jul 19, 2010 at 16:52, Marcus Meissner
On Mon, Jul 19, 2010 at 04:48:27PM -0400, Robert Xu wrote:
Hi all,
I'm a little confused. Does OBS pull in both BuildRequires and Requires when making a package? And if so, is there a way to specify to only use BuildRequires?
Of the currently building package ... only BuildRequires.
Of the Buildrequired packages: everything.
Are you sure? I just built a package that doesn't buildrequire any gtk libraries, but it still took them in!
To mask out specific packages, use either the projectconfig or BuildRequires: -package or so. (or was it #!BuildIgnore: package ?
Ciao, marcus
-- later, Robert Xu -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On 07/19/2010 11:01 PM, Robert Xu wrote:
Are you sure? I just built a package that doesn't buildrequire any gtk libraries, but it still took them in!
Are you sure that none of your package dependencies do not (build)require GTK? We can't help you without the project/package name ... -- Best Regards / S pozdravom, Pavol RUSNAK SUSE LINUX, s.r.o openSUSE Boosters Team Lihovarska 1060/12 PGP 0xA6917144 19000 Praha 9 prusnak[at]opensuse.org Czech Republic -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Mon, Jul 19, 2010 at 17:22, Pavol Rusnak
On 07/19/2010 11:01 PM, Robert Xu wrote:
Are you sure? I just built a package that doesn't buildrequire any gtk libraries, but it still took them in!
Are you sure that none of your package dependencies do not (build)require GTK? We can't help you without the project/package name ...
it requires GTK, but not for building.
-- Best Regards / S pozdravom,
Pavol RUSNAK SUSE LINUX, s.r.o openSUSE Boosters Team Lihovarska 1060/12 PGP 0xA6917144 19000 Praha 9 prusnak[at]opensuse.org Czech Republic -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
-- later, Robert Xu -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Mon, Jul 19, 2010 at 05:25:24PM -0400, Robert Xu wrote:
On Mon, Jul 19, 2010 at 17:22, Pavol Rusnak
wrote: On 07/19/2010 11:01 PM, Robert Xu wrote:
Are you sure? I just built a package that doesn't buildrequire any gtk libraries, but it still took them in!
Are you sure that none of your package dependencies do not (build)require GTK? We can't help you without the project/package name ...
it requires GTK, but not for building.
As I said, from the second level on, the Requires are resolved. So: original package: pulls in BuildRequires all buildrequires: pull in their Requires. So one of the buildrequires directly requires gtk2. Ciao, MArcus -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (3)
-
Marcus Meissner
-
Pavol Rusnak
-
Robert Xu