rpm --eval %_macro
replace %_macro with the one you want to expand.
Mike
Jason Luo wrote:
Hi,
I konw I can use "rpm --showrc" to view the macro in rpmrc. But I hope
to get the value of macro in rpmrc. How to get it?
thanks in advanced!
Jason
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list