rpm --qf question
Panu Matilainen
pmatilai at welho.com
Thu Aug 19 14:47:01 UTC 2004
On Thu, 2004-08-19 at 17:36, Jaroslaw Gorny wrote:
> Hallo list,
>
> when I run:
> rpm -q --qf "[%{=NAME} %{REQUIRENAME} %{REQUIREVERSION}\n]" package_name
>
> The output is sth like:
> package version
>
> but, I still don't know what is the relation between them:
> package = version
>
> or maybe:
> package >= version
>
> I was trying to find tag or sth. but without any success.
> PS. I know I can run:
> rpm --requires package_name
>
> but it's not what I'm looking for.
Yep but looking into /usr/lib/rpm/rpmpopt* would've given you a hint how
--requires does it's job :) This is probably what you're looking for:
rpm -q --qf "[%{=NAME} %{REQUIRENAME} %{REQUIREFLAGS:depflags}
%{REQUIREVERSION}\n]" <package>
- Panu -
More information about the fedora-devel-list
mailing list