RPM Community Forums

Mailing List Message of <rpm-users>

How to print list of required and provided packages via --qf

From: Stefan Westmeier <stefan_westmeier@hotmail.de>
Date: Thu 07 Feb 2008 - 12:21:04 CET
Message-ID: <BAY115-W8C634861EE7250CDCF07F982E0@phx.gbl>

is there a way to get access to the required and provided list of packages via a macro?

rpm -qa --qf 'Requires: %{requires}\n'
does not seem to the job. I only get one item printed. 
I know about the option --requires and --provides. But this is not what I am looking for.
Received on Thu Feb 7 12:21:06 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.