On Mon, Jul 25, 2005, Doug Summers wrote:

> Using 'openpkg rpm -qp filename.src.rpm --requires' gives me a nice list 
> of what OpenPKG rpm's are required to build the binary. How can I check 
> for the "install" dependencies? Postfix is one that comes to mind that 
> need procmail to install but not to build.

I guess 

$ rpm -qp \
--queryformat '[%{REQUIRENAME} %{REQUIREFLAGS:depflags} %{REQUIREVERSION}\n]' \
filename.*.rpm

does the job for both source (build time) and binary (install time) RPMs.

-- 
christoph schug <[EMAIL PROTECTED]>
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to