[Rpm-maint] RPM Dependency Query

seth vidal skvidal at fedoraproject.org
Fri Nov 16 15:51:51 UTC 2007


On Fri, 2007-11-16 at 01:36 -0800, shan Amudhan wrote:
> Have a query in retrieving the Dependency information of RPM
> programmatically. Got the option of getting it using "rpm -qpr
> rpmfile". But need to get it on some machine where RPM are not
> installed. Is there any other shell script command through which I can
> get the info from the header of the RPM file.


have you looked at the repodata format and createrepo?

http://linux.duke.edu/createrepo/

-sv





More information about the Rpm-maint mailing list