[CentOS] How get a spec preprocesed with all macros expanded.

Tue Mar 27 14:39:13 UTC 2012
Karanbir Singh <mail-lists at karan.org>

On 03/27/2012 02:30 PM, Marcos Lois Bermúdez wrote:
> I need to get a spec file with all macro exanded, so i can extract info 
> of some tags, that my be consitional based on macros, i know that some 
> rpm utils need to make this to figure out dependencies and so on.

That does not make any sense to me, what is it that you want in clear
terms ?

are you just looking for something like : 'yum install redhat-rpm-config
rpm-build && rpm --showrc'

- KB

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