Mailinglist Archive: opensuse-packaging (218 mails)

< Previous Next >
Re: [opensuse-packaging] advanced requirements
  • From: Michael Matz <matz@xxxxxxx>
  • Date: Thu, 3 Dec 2009 18:03:03 +0100 (CET)
  • Message-id: <Pine.LNX.4.64.0912031801260.18785@xxxxxxxxxxxxx>
Hi,

On Thu, 3 Dec 2009, Luke Imhoff wrote:

Just have A and B have an explict Provides on the api-version capability

Provides: xulrunner-api-version = 1.2.3

Of course, name the capability (xulrunner-api-version) to be whatever
the api is actually specifying, just make sure the name doesn't collide
with an already used name for an rpm or other capability.

and have C Requires: xulrunner-api-verison = 1.2.3

That will make C require exactly that version of the api.

That would allow to install a B that doesn't provide this capability, as
long as A does. You need to use different names for A and B and require
both from C (in addition to the supplements it already has).


Ciao,
Michael.
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups