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 -