Mailinglist Archive: opensuse-packaging (107 mails)

< Previous Next >
Re: [opensuse-packaging] subpackages
  • From: Pavol Rusnak <prusnak@xxxxxxx>
  • Date: Thu, 07 May 2009 16:52:52 +0200
  • Message-id: <4A02F5C4.6070602@xxxxxxx>
Richard Guenther wrote:
Oliver Block wrote:
does anybody know if there is a way to only build a certain subpackage when
spec file does create multiple subpackages?
There is no way to do that. Build cannot decide which commands from
%build and %install phase belong to which subpackage.

Simply comment out the %files sections of the packages you want not
be created for example with a %if 0.

But still, files for all packages will be created, just the ones for
commented packages will be discarded. This will not reduce build time.
Oliver, what exactly are you trying to acheive?

Best Regards / S pozdravom,

Package Maintainer Lihovarska 1060/12
PGP 0xA6917144 19000 Praha 9, CR
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >