[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: How do I change the tmppath



On Thursday, 17 April 2008, at 11:08:00 (+0200),
devzero2000 wrote:

> Or, perhaps better, in ~/.rpmmacros put this lines
> 
> %_topdir      %(echo $HOME)/rpmbuild
> %_tmppath  %{_topdir}/tmp
> %_buildroot  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
                                                             ^^^^^^^^^^^^^^^^

Do not use this.  Despite its proliferation in Fedora, it is not
portable.  It is also completely unnecessary in the above example
(since %{_tmppath} is already user- and build-specific) or in any
properly-written build tool.

Michael

-- 
Michael Jennings (a.k.a. KainX)  http://www.kainx.org/  <mej kainx org>
Linux Server/Cluster Admin, LBL.gov       Author, Eterm (www.eterm.org)
-----------------------------------------------------------------------
 "Kyrie eleison down the road that I must travel.  Kyrie eleison
  through the darkness of the night.  Kyrie eleison; where I'm going,
  will you follow?"                             -- Mr. Mister, "Kyrie"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]