[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: How to prevent rpmbuild from building %package subpackages?




On Apr 9, 2007, at 2:46 PM, Richard Michael wrote:

Hello,

I guess this is a really obvious question, but I'm stumped and I haven't
been able to dig up an answer for this..


The answer is rather simple.

How can I prevent rpmbuild from building subpackages? I want to build a
php SRPM, but without many of the component packages.  I've tried
--without-<SUBNAME>, --define "<SUBNAME> 0", etc. etc.


There's only one build, so there's no way to
    "... prevent rpmbuild from building subpackages ..."

Must the SPEC file be specially written?


Yep.

This is on a FC4 machine if that's relevent and rpm 4.4.1.

OK.

I'm getting ready to browse the source to answer this!


Good luck!

73 de Jeff


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]