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

Re: %files section of SPEC file



On Mon, Jul 23, 2007 at 01:46:56PM -0400, Matthew Miller wrote:

> Yes. That's exactly what buildroot is for. Put this line or something
> similar in your spec file:
> 
>  BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

Yes, and don't "%define buildroot", as was in your sample code, which
I've never seen used and I don't know what side effects it has, and
don't use some buildroot path below /usr/src/redhat or so, that's the
wrong usage, it should be a tmp path.

-- 
--    Jos Vos <jos xos nl>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204


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