[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: specfile query of a specific package



On Thu, Jan 23, 2003 at 08:15:00AM -0500, Jeff Johnson said:

> > 2) how can I get: rpm -q --qf '%{name}: %{requirename}\n' <blah> 
> > to return all requires not just the first one of each package described in
> > the spec? 
> 
> You want something like
> 	rpm -q --qf '[%{name}: %{requirename}]\n'
> but that may or may not substitute for %{name} correctly.

James recently suggested: 
      rpm -q --qf '[%{=name}: %{requirename}\n]'

Which works.. thanks

--
Mike Snitzer                           msnitzer@lnxi.com
Linux NetworX, Inc.                    http://www.lnxi.com 





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []