You need to do RPM subpackages. This would allow you to generate three
different binary RPMs from one source RPM.
The online version of Maximum RPM describes it at the following link:
http://www.rpm.org/max-rpm/ch-rpm-subpack.html
If you have any trouble, send me an email and I'll see what I can do.
Devin
On Mon, 2003-12-22 at 18:56, Richard Sharpe wrote:
> Hi folks,
>
> I am looking at better ways to package the RPMs for Ethereal.
>
> I want to build three sets of packages:
>
> 1. built with ucd-snmp packages
>
> 2. built with net-snmp packages
>
> 3. Built without snmp at all.
>
> Currently, I use three spec files, but that creates problems with the
> source RPMs and a mish-mash of RPMs that require people to know what
> packages to install.
>
> I think that it would be better if:
>
> 1. I could come up with one spec file
>
> 2. I built three packages, ethereal-no-snmp, ethereal-net-snmp,
> ethereal-ucd-snmp, which installed everything. This will simplify the
> installation decisions for people.
>
> Does anyone have any opinions on this?
>
> Also, can anyone point me at resources that can teach me how to build
> three packages from one SPEC file?
>
> Regards
> -----
> Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org,
> sharpe[at]ethereal.com, http://www.richardsharpe.com
>
> _______________________________________________
> Ethereal-dev mailing list
> Ethereal-dev@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ethereal-dev
--
Devin Heitmueller
Senior Software Engineer
Netilla Networks Inc.