On Fri, Jul 02, 2004 at 10:05:50AM +1200, Michael Honeyfield wrote: > Example: > %define foobarver %(rpm -q foobar --qf '%{RPMTAG_VERSION}' | tail -1) > Is this the best way? Or should I query the app directly like: > foobar --version > and trim the out put? Ideally, neither. :) What are you trying to do? -- Matthew Miller mattdm@xxxxxxxxxx <http://www.mattdm.org/> Boston University Linux ------> <http://linux.bu.edu/> _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list