On Jul 27, 2009, at 6:36 AM, Chris Eveleigh wrote:

anyway, when there is a requirement of the form "at least one of these alternates" i've heard about "virtual provides" where each of the possible provider packages adds a generic provide - e.g. "Provides: perlDBdriver" - so that the dependency can be satisfied by any of the available packages and yum/rpm/whatever will only complain if the user attempts to remove the last of those packages.

for example, the bugzilla package depends on "webserver" which can be satisfied by httpd or lighttpd or whatever. i think there's another one for mailserver.


for another example of this procedure, look at rpmforge's perl-JSON- Any. using the "-alternative" syntax might be a good way of making it obvious that one is looking at a virtual provide.

-steve

--
If this were played upon a stage now, I could condemn it as an improbable fiction. - Fabian, Twelfth Night, III,v
http://five.sentenc.es

Attachment: PGP.sig
Description: This is a digitally signed message part

_______________________________________________
suggest mailing list
suggest@lists.rpmforge.net
http://lists.rpmforge.net/mailman/listinfo/suggest

Reply via email to