[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: How to prevent rpmbuild from building %package subpackages?
- From: Michael Jennings <mej kainx org>
- To: rpm-list redhat com
- Subject: Re: How to prevent rpmbuild from building %package subpackages?
- Date: Mon, 9 Apr 2007 14:53:45 -0400
On Monday, 09 April 2007, at 14:46:52 (-0400),
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..
>
> 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.
>
> Must the SPEC file be specially written?
>
> This is on a FC4 machine if that's relevent and rpm 4.4.1.
>
> I'm getting ready to browse the source to answer this!
Check out this spec file:
http://mirror.caosity.org/cAos-2/ext/autobuilder/i386/00_LOGS/web/php5/SPECS/php5.spec
and its SRPM:
http://mirror.caosity.org/cAos-2/ext/autobuilder/i386/00_LOGS/web/php5/SRPMS/php5-5.2.1-1.caos.src.rpm
I've built it on systems as far back as RHEL3.
Michael
--
Michael Jennings (a.k.a. KainX) http://www.kainx.org/ <mej kainx org>
n + 1, Inc., http://www.nplus1.net/ Author, Eterm (www.eterm.org)
-----------------------------------------------------------------------
"Touch passion when it comes your way. It's rare enough as it is.
Don't walk away when it calls you by name."
-- Marcus Cole (Jason Carter), Babylon Five
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]