rpmbuild and %_topdir
Ben Scott
dragonhawk at gmail.com
Wed Nov 16 20:29:00 EST 2005
On 11/16/05, Kevin D. Clark <clark_k at pannaway.com> wrote:
> Is there a way to invoke rpmbuild such that %_topdir is specified?
http://fedora.redhat.com/docs/drafts/rpm-guide-en/ch-customizing-rpm.html#id3034443
... suggests that ...
rpmbuild --define '_topdir /where/you/want'
... will do what you want. Note the lack of a percent sign in the
macro definition. Said webpage also gives ...
rpmbuild --eval '%_topdir'
... as a way to evaluate macros from the command line.
No, this isn't mentioned in my RPM man pages, either. :-/
-- Ben "Docs are nice. *Complete* docs are even better." Scott
More information about the gnhlug-discuss
mailing list