Re: RPM question -- setting info from environment

2000-03-19 Thread Michael Ju. Tokarev
Chmouel Boudjnah wrote: > > "Michael Ju. Tokarev" <[EMAIL PROTECTED]> writes: > > > It controlled by "%define lfs 0" in .spec. Can I say, for example, > > "rpm --rebuild kernel-...src.rpm lfn=1" ? > > rpm --rebuild --define 'lfs 1' k*src.rpm That can seems strange. It seemed that this --defi

Re: RPM question -- setting info from environment

2000-03-19 Thread John Summerfield
> Hi! > > Two (little?) rpm questions. > > Is it possible within .spec file to define some rpm variables > (for example, %requires, maybe %release) based on something > from running system? Example of usage here is trivial: No. I tried and it worked, sort of. It got the required value when used

Re: RPM question -- setting info from environment

2000-03-19 Thread Chmouel Boudjnah
"Michael Ju. Tokarev" <[EMAIL PROTECTED]> writes: > It controlled by "%define lfs 0" in .spec. Can I say, for example, > "rpm --rebuild kernel-...src.rpm lfn=1" ? rpm --rebuild --define 'lfs 1' k*src.rpm -- MandrakeSoft Inchttp://www.mandrakesoft.com Pasadena, CA USA

RPM question -- setting info from environment

2000-03-18 Thread Michael Ju. Tokarev
Hi! Two (little?) rpm questions. Is it possible within .spec file to define some rpm variables (for example, %requires, maybe %release) based on something from running system? Example of usage here is trivial: we can made separate package from pcmcia-cs (currently in kernel) and make two packag