Re: How do I change the tmppath
devzero2000 <[email protected]> Thu, 17 Apr 2008 18:50:38 +0200
| Newsgroups | gmane.linux.redhat.rpm.general |
|---|---|
| Message-ID | <[email protected]> |
Right was a bad cut-and-paste, in effect in my .rpmmacros the buildroot is prefixed by a #. Sorry for the error. Regards On Thu, Apr 17, 2008 at 6:12 PM, Michael Jennings <[email protected]> wrote: > 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" > > _______________________________________________ > Rpm-list mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/rpm-list > _______________________________________________ Rpm-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/rpm-list