Mailinglist Archive: opensuse-packaging (220 mails)
| < Previous | Next > |
Re: [opensuse-packaging] Supplements package with a required version
- From: Michael Matz <matz@xxxxxxx>
- Date: Mon, 7 Sep 2009 23:51:09 +0200 (CEST)
- Message-id: <Pine.LNX.4.64.0909072349030.29566@xxxxxxxxxxxxx>
Hi,
On Sun, 30 Aug 2009, Lubos Lunak wrote:
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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
| < Previous | Next > |