> Date: Thu, 19 Jan 2006 13:19:42 -0500
> From: Jeff Squyres <jsquy...@open-mpi.org>
> Subject: Re: [O-MPI users] ompi spec file
> To: Open MPI Users <us...@open-mpi.org>
> Message-ID: <23849e6b-b0ff-4eeb-84dc-4a01d72f8...@open-mpi.org>
> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
> 
> David --
> 
> Many thanks for this; I learned some new RPM tricks in here.  :-)
> 
> I love the "--with ..." interface.  The only thing that concerns me  
> is the scalability -- we have to add two things for each --with/-- 
> enable option that we have for configure.  Granted, we probably won't  

Yep (sigh)

> be adding too many more, but some change over time is going to be  
> inevitable.  It would be great if we didn't have to also remember to  
> edit the specfile when we add a feature to configure.

That's why I was trying to give it to you as you'd know right off if/when
other options appeared or changed syntax ;)

> Is there a more scalable way to do this, perchance?

I was trying to make the option-generator into a function which could be
called in the %description section or in the %configure line so you'd
only need to maintain one area.  I haven't figured that out yet (or
determined if it were possible) ... if not possible, I'd be willing to hack
out the %description flags if you'd accept the other area.

Daryl

Reply via email to