Re: [Cooker] RPM build environement switch

2003-01-24 Thread Ben Reser
On Thu, Jan 23, 2003 at 12:13:53PM +0200, Buchan Milne wrote: You would notice the rpmmacros file I posted would define all the right macros based on the release number. If the release number contains mdk, ut uses vendor MandrakeSoft etc. Credit to Ben for the initial example. I also use it to

Re: [Cooker] RPM build environement switch

2003-01-23 Thread Buchan Milne
Olivier Thauvin wrote: For rpm building, I use in script: rpm --define vendor MandrakeSoft -ba machin.spec vendor = plf is in my .rpmmacros by default. Choice is freedom of cource, and you can setup an alias with bash. Just to point this way of life. You would notice the rpmmacros

Re: [Cooker] RPM build environement switch

2003-01-23 Thread Olivier Thauvin
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

Re: [Cooker] RPM build environement switch

2003-01-23 Thread Buchan Milne
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

Re: [Cooker] RPM build environement switch

2003-01-22 Thread Han Boetes
Yves Duret [EMAIL PROTECTED] wrote: For myself, i am using a Makefile in my ~/rpm/SPECS dir with thoses rules: How's this for a Makefile? http://www.xs4all.nl/~hanb/software/rpms/Makefile # Han -- http://www.xs4all.nl/~hanb/software

Re: [Cooker] RPM build environement switch

2003-01-22 Thread Austin Acton
On Wed, 2003-01-22 at 06:19, Han Boetes wrote: How's this for a Makefile? http://www.xs4all.nl/~hanb/software/rpms/Makefile Sweet! Austin -- Austin Acton Hon.B.Sc. Synthetic Organic Chemist, Teaching Assistant Department of Chemistry, York

Re: [Cooker] RPM build environement switch

2003-01-22 Thread Olivier Thauvin
For rpm building, I use in script: rpm --define vendor MandrakeSoft -ba machin.spec vendor = plf is in my .rpmmacros by default. Choice is freedom of cource, and you can setup an alias with bash. Just to point this way of life. Le Mercredi 22 Janvier 2003 01:33, Guillaume Rousse a écrit : As

[Cooker] RPM build environement switch

2003-01-21 Thread Guillaume Rousse
As it seems to be rather hype currently to speaks about tools for making rpm build easier, let me share also some trivial trick i use to switch between different rpm build environment. All actual files (.rpmrc, .rpmmacros, .rpmlintrc, .rpmprocrc) for foo environment have their name postfixed

Re: [Cooker] RPM build environement switch

2003-01-21 Thread Yves Duret
Guillaume Rousse wrote: As it seems to be rather hype currently to speaks about tools for making rpm build easier, let me share also some trivial trick i use to switch between different rpm build environment. All actual files (.rpmrc, .rpmmacros, .rpmlintrc, .rpmprocrc) for foo environment