Mailinglist Archive: zypp-devel (56 mails)

< Previous Next >
Re: [zypp-devel] How to get a packages' depends and requires from libzypp
  • From: Duncan Mac-Vicar Prett <dmacvicar@xxxxxxx>
  • Date: Wed, 5 Dec 2007 14:26:07 +0100
  • Message-id: <200712051426.07991.dmacvicar@xxxxxxx>

Yes, and if you want to see which packages in the pool match a capability, you
can use CapMatchHelper

See example in Locks, which creates a capability (dependency) from a user
string, then patch packages, and lock them.

http://svn.opensuse.org/svn/zypp/trunk/libzypp/zypp/Locks.cc

The API is here:
http://svn.opensuse.org/svn/zypp/trunk/libzypp/zypp/CapMatchHelper.h

Duncan
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References