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

Re: %{buildroot} vs $RPM_BUILD_ROOT



On Tue, 16 Jul 2002, Rob Nagler wrote:

> Jeff Johnson writes:
> > Otherwise, the two have identical values and uses, and it really doesn't
> > matter at all.
> 
> Not sure this is correct.  Maybe this has been fixed after 4.0.4, but
> when I do:
> 
> %files -f $RPM_BUILD_ROOT/files.list
> 
> I get:
> 
> RPM build errors:
>     Could not open %files file ./$RPM_BUILD_ROOT/files.list: No such file or directory
> 
> When I do:
> 
> %files -f %{buildroot}/files.list
> 
> It works fine.

But in both cases can be splited to simple:

%files -f files.list

because "%files -f" if not path specufied read file by default file 
located in build root.

kloczek
-- 
-----------------------------------------------------------
*Ludzie nie mają problemów, tylko sobie sami je stwarzają*
-----------------------------------------------------------
Tomasz Kłoczko, sys adm @zie.pg.gda.pl|*e-mail: kloczek@rudy.mif.pg.gda.pl*





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