[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Help with rpmlib



I am trying to write a program (in C) to sort out the dependencies of 
SRPMs so I can build an entire distribution from SRPMs (in a chroot(), 
starting with only the basics such as compiler and a few basic libs).

The problem I'm having is that rpmlib seems to be very undocumented - I 
need to get the requires and provides list from each RPM, but I can't see 
how to do this.  Looking at the RPM source it seems to use functions such 
as rpmdsNew, rpmdsInit and rpmdsNext - none of which seem to be documented 
at all (I'm using the online API docs at rpm.org, the Maximum RPM book and 
the Redhat RPM Guide book).

How would I go about doing this? (or is there a better way?)

-- 

- Steve Hill
Senior Software Developer                        Email: steve@navaho.co.uk
Navaho Technologies Ltd.                           Tel: +44-870-7034015

        ... Alcohol and calculus don't mix - Don't drink and derive! ...






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]