[OpenAFS] Small suggestion for RH spec file?

Nathan Neulinger nneul@umr.edu
29 Dec 2002 11:46:41 -0600


On Sun, 2002-12-29 at 11:44, Derrick J Brashear wrote:
> On 29 Dec 2002, Nathan Neulinger wrote:
> 
> > Seems like having a separate RPM for cellservdb would be easiest. 
> > 
> > Then you can have TWO rpms for the 2 cases that cover 99% of the users:
> > 
> > 1. Local only - this RPM would have no CellServDB.global
> > 2. Full participant - this RPM would have a full CellServDB.global
> 
> Hmmm. This might actually be the solution, though there is one problem:
> how do you bootstrap? I don't think rpm has a way to depend on "a or b". I
> guess you could make both rpms "provide" something, but they also need to
> conflict.

Is there a way to depend on something with a prefix? sortof like you can
depend on another rpm, but not a particular version?

I'm not sure how all the conflict stuff works with rpm, but could you
have the base package create an empty CellServDB if none is present. If
you want real functionality, you then would need to install an actual
cellserv database - either of the two rpms above.

-- Nathan


------------------------------------------------------------
Nathan Neulinger                       EMail:  nneul@umr.edu
University of Missouri - Rolla         Phone: (573) 341-4841
Computing Services                       Fax: (573) 341-4216