On 11/16/05, Kevin D. Clark <[EMAIL PROTECTED]> 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
_______________________________________________
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss

Reply via email to