scripts: use %_tmppath in "make rpm-pkg"
authorJohn Saalwaechter <saalwaechter@gmail.com>
Mon, 1 Feb 2010 00:18:58 +0000 (16:18 -0800)
committerMichal Marek <mmarek@suse.cz>
Tue, 2 Feb 2010 13:33:56 +0000 (14:33 +0100)
commit880df92fa0bb2ebaf057ea1cc1e309b351fd73bc
treeeda50d2507a785a48dfdf193ec73ddd00e9fa2d1
parent0139f1d9539395ca341e17060ae26f44f5f31434
scripts: use %_tmppath in "make rpm-pkg"

The mkspec script hardcodes "/var/tmp" into the generated rpm spec file's
BuildRoot. The user, however, may have a custom setting for %_tmppath,
which should be used in BuildRoot.  This patch changes mkspec's
BuildRoot output to appropriately use %_tmppath.

Signed-off-by: John Saalwaechter <saalwaechter@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/package/mkspec