Hi, On Sun, 30 Aug 2009, Lubos Lunak wrote:
I have package mozilla-xulrunner191, which can make use of package mozilla-xulrunner191-kde4, but only of a specific version. How do I express that using rpm dependencies?
Currently the -kde4 package has "Supplements: packageand(mozilla-xulrunner191:kdebase4-workspace)" to be pulled in when both the main package and the KDE desktop are installed. I however don't know how to express the version dependency, since the -kde4 package does not care what the version of the main package is, but the main package has a version requirement on the -kde4 package, if it is installed. I cannot use Requires in the main package, since -kde4 is optional. If I use Recommends in the main package, I don't know how to recommend the -kde4 package only if KDE is also installed.
Is there a way?
Maybe one possibility would be to add Conflict: mozilla-xulrunner191-kde4 != good.version in the mozilla-xulrunner191 package. That has the obvious problem when another good version of -kde4 comes out, but should help in the mean time. Otherwise I'm not aware of how to model this. Ciao, Michael. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org