Circa 2001-Mar-20 13:49:55 -0500 dixit Jim Knoble:
: (3) Many recent specfiles use the '%{_tmpdir}' macro for BuildRoot;
: for example:
:
: BuildRoot: %{_tmpdir}/%{name}-%{version}-%{release}
:
: %{_tmpdir} defaults to /var/tmp/; it's easy enough to change:
Err ... that's %{_tmppath}, not %{_tmpdir}. Corrected commands are as
follows:
cat >>~/.rpmmacros <<EOF
%HOME %{expand:%%(cd; pwd)}
%_tmppath %{HOME}/tmp
EOF
Thanks to kloczek for noticing the mistake.
--
jim knoble | [EMAIL PROTECTED] | http://www.jmknoble.cx/