JFYI With libzypp-4.15.0 class Capability allows to create dependencies restricted to a specific architectue. The format for such dependency string is: "name[.arch][ op edition]" Example: MIL << sat::WhatProvides( Capability("amarok") ) << endl; MIL << sat::WhatProvides( Capability("amarok.i586") ) << endl; MIL << sat::WhatProvides( Capability("amarok.x86_64") ) << endl; MIL << sat::WhatProvides( Capability("amarok.sparc") ) << endl; Will print either all providers of amarok, or only those with architecture i586 or x86_64 (2){ (744)amarok-1.4.9.1-4.x86_64(openSUSE-11.0-x86_64) (3641)amarok-1.4.9.1-4.i586(openSUSE-11.0) } (1){ (3641)amarok-1.4.9.1-4.i586(openSUSE-11.0) } (1){ (744)amarok-1.4.9.1-4.x86_64(openSUSE-11.0-x86_64) } (0){} -- cu, Michael Andres +------------------------------------------------------------------+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +------------------------------------------------------------------+ Michael Andres YaST Development ma@novell.com SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0 +------------------------------------------------------------------+ -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org