--- Jim Perrin <jperrin@xxxxxxxxx> wrote: > On 4/5/06, Robinson Tiemuqinke > <hahaha_30k@xxxxxxxxx> wrote: > > Hi, > > > > Newbie questions: Any one know if there is an yum > > option similar to '--queryformat' for rpm? I ask > this > > because on x86_64 platform it is too difficult to > > figure out whether a rpm reported by yum is x86_64 > or > > i[3456]86. > > create a ~/.rpmmacros file with the contents: > %_query_all_fmt > %%{name}-%%{version}-%%{release}.%%{arch} Thanks, that way works much better than specify --qf (--queryformat) options to yum & rpm. Since the --qf format for yum and rpm are different. The first one's query format should NOT end with "\n", while the latter definite need it. Does the difference disappears in FC5? I'll install FC5 shortly and just can not wait to know it. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com