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

Re: RPM command parameters parsing ( bug ? ... )



Jeff Johnson wrote:

> On Wed, Jan 02, 2002 at 01:30:12PM -0500, Serguei Ostrovskii wrote:
>> 
>> Do you mean 'rpm' won't have -[b|t] options in the future
>> and it is currently for compatibility only ?
> 
> The build modes of rpm moved from /bin/rpm to a /usr/lib/rpm/rpmb helper
> binary over a year ago.
> 
> What's left is legacy compatibility provided by something called popt
> aliases. The aliases are used to re-exec a helper binary if a mode
> specific option is encountered. This mostly works, certainly well enough
> for legacy compatibility IMHO, but there are problems with various
> pathological invocations.
> 
> 73 de Jeff

If I'm writing a new script to build RPM packages, should I use rpmbuild or 
just rpm (in other words, which is more supported and more likely to work 
portably in the future)?  It would be nice if the documentation for rpm and 
rpmbuild mentioned this.

-- 
                        Eric Backus <eric_backus@agilent.com>
                        PGP:  B6 CC EC B2 CD A4 79 A8  1C BF 19 96 69 EE E5 CC
                        GPG: 1567 EB6E D580 7CCD 13FB  34EC A51C C498 7F7F 9944





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