Re: How do I change the tmppath
Michael Jennings <[email protected]> Thu, 17 Apr 2008 09:12:54 -0700
| Newsgroups | gmane.linux.redhat.rpm.general |
|---|---|
| Message-ID | <[email protected]> |
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/ <[email protected]>
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"