[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensuse-packaging
Subject:    [opensuse-packaging] Supplements package with a required version
From:       Lubos Lunak <l.lunak () suse ! cz>
Date:       2009-08-30 21:38:29
Message-ID: 200908302338.29230.l.lunak () suse ! cz
[Download RAW message or body]


 Hello,

 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?

-- 
Lubos Lunak
KDE developer
--------------------------------------------------------------
SUSE LINUX, s.r.o.   e-mail: l.lunak@suse.cz , l.lunak@kde.org
Lihovarska 1060/12   tel: +420 284 028 972
190 00 Prague 9      fax: +420 284 028 951
Czech Republic       http://www.suse.cz
-- 
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-packaging+help@opensuse.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic