Den 13:24 22. desember 2011 skrev Paul Eggleton <paul.eggle...@linux.intel.com> følgende: > Hi there, > > Whilst working on Poky/OpenEmbedded I found the need to list all of the hard > dependencies of an RPM package within a shell script. Unfortunately --requires > or the REQUIRES tag seem to also include "soft" dependencies (i.e. > "suggests") which is not really what I need. FYI we're using RPM 5.4.0. Here's a recent patch of mine coming from past discussions about the subject: http://svn.mandriva.com/viewvc/packages/cooker/rpm/current/SOURCES/rpm-5.4.4-dont-show-suggests-with-requires.patch?view=log
I think this should be just exactly what you want! :o) Btw. when moving to rpm 5.4 in Manriva, I hit several nasty regressions which since has been fixed, so I would advice you to at least use rpm 5.4.4 if you're still stuck on rpm 5.4.0 (which probably a tons of bugs was already fixed by Jeff previous rpm 5.4.x releases by Jeff already...;). -- Regards, Per Øyvind ______________________________________________________________________ RPM Package Manager http://rpm5.org Developer Communication List rpm-devel@rpm5.org