Olivier Thauvin wrote:
> Le Jeudi 23 Janvier 2003 11:13, Buchan Milne a �crit :
> 
>>Olivier Thauvin wrote:
> 
> 
> Rpm is fully base on macros, all setting are macros.
> If you define a macros on command line, you will overwrite the default, an 
> spec defined macros, you can specify an alternative personnal rpmmacros too, 
> here some example:
> 
> _topdir: my default is ~/RPM/ with all structure (BUILD, SPEC, RPMS, SRPMS...)
> _tmpdir: $RPM_BUILD_ROOT is within
> vendor = vendor tag
> distribution = ditrib tag
> packager...

Yes, I do this all according to what the release number contains.

> 
> --target only define _target_cpu...
> 
> If you want build same rpm for plf and mdk in same time, you can't because it 
> will use same dir, else you define another build dir, you can overwrite SPEC 
> an SOURCE dir too.

I normally don't build the same package for Mandrake and PLF at the same
time, so I share SOURCES, tmp and BUILD, but SPECS, RPM and SRPM I don't.

See my rpmmacros (posted earlier in the thread) for how.

Buchan

-- 
|--------------Another happy Mandrake Club member--------------|
Buchan Milne                Mechanical Engineer, Network Manager
Cellphone * Work            +27 82 472 2231 * +27 21 8828820x121
Stellenbosch Automotive Engineering         http://www.cae.co.za
GPG Key                   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7


Reply via email to