Re: How do I change the tmppath

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

 



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@xxxxxxxxx>
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"

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux