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

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

 



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@xxxxxxxxx>
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

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux