On 03/27/2012 03:39 PM, Karanbir Singh wrote: >> I need to get a spec file with all macro exanded, so i can extract info > are you just looking for something like : 'yum install redhat-rpm-config > rpm-build && rpm --showrc' Also, if you are trying to get buildtime results, you can add %dump to the spec file, and grab buildtime output -- Karanbir Singh +44-207-0999389 | http://www.karan.org/ | twitter.com/kbsingh ICQ: 2522219 | Yahoo IM: z00dax | Gtalk: z00dax GnuPG Key : http://www.karan.org/publickey.asc