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. On Thu, 2009-12-03 at 10:48 -0600, Wolfgang Rosenauer wrote:
Hi,
I've got a problem I'm not sure how to solve with RPM dependencies.
The following scenario:
package A------ package C package B------
Package C supplements package A and B Packages A and B are independent Packages A and B must not have hard requirements to C
Now the harder part: If package C is to be installed its version must match a certain feature provided by A and B. Actually I'm speaking about an API version. So A and C have to match as well as B and C.
For people wanting to look at a real life example: I'm talking about mozilla-xulrunner191 and mozilla-xulrunner191-kde4. There already are supplements, requires and provides as needed to match two packages (A and C) but now a new package B comes into the game.
I'm really confused already about it.
Any hints?
Wolfgang
-- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org