oh, it works, thanks! But, I didn't find the option in rpm's man page. Is it an unopened option? if so, where can I find all unopened options? On Wed, 13 Oct 2004 21:44:48 +1300, Michael Honeyfield <mhoneyfield@xxxxxxxxxxxx> wrote: > 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 > _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list