Buchan Milne wrote:
On Sun, 22 Dec 2002, Pascal Terjan wrote:
Hi, is there a way to get in a script the value of some rpm macros likerpm --eval %{_sourcedir}
_sourcedir or _specdir ?
I found how to get their values (using --showrc) but not expanded
(%{_topdir}/SPECS). I can then look for % and make the expansion by hand
but I
may introduce bugs...
Thanks a lot ! Next time I'll use --help, not the manpage :-)