[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: One source, multiple packages?



On Fri, Feb 13, 2009 at 04:06:41PM -0600, King InuYasha wrote:
> Why can't RPM packages have a Requires saying "mysql OR postgresql" or
> something like that?

Debian has a mechanism exactly like this.

However it is my understanding (possibly incorrect) that the right way
to deal with this with RPM is using virtual provides, ie each database
would have this:

  Provides: database

Which allows any package that needs "a database" to require that.

I'm not exactly sure how requiring mysql or postgresql would work out
in reality, since they have quite different capabilities and SQL
syntax.

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]