In order to get dependencies and other info about package you don't have to extract cpio from it. Instead you can use rpm - --qf YOUR_FORMAT rpm_package to get all kind of info about packages. Valery >________________________________ > From: Ali AlipourR <alipoor90@xxxxxxxxx> >To: rpm-list@xxxxxxxxxxxxx >Sent: Wednesday, November 26, 2014 10:40 AM >Subject: Do dependencies specified in .rpm file? > > > >Hi >Do rpmbuild will embed list of dependencies, package info etc in .rpm file? how can I view it? > >I tried extracting .rpm file with rpm2cpio and piping it to cpio but it just gives me package binary files etc and not any file related to package info and deplist ... > >Thanks > > > >_______________________________________________ >Rpm-list mailing list >Rpm-list@xxxxxxxxxxxxx >http://lists.rpm.org/mailman/listinfo/rpm-list > > > _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxxxxx http://lists.rpm.org/mailman/listinfo/rpm-list