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

Re: %files directive with relocation in %install



On Tuesday, 27 June 2006, at 10:20:31 (-0600),
Bob Proulx wrote:

> If not then probably defining _prefix is better.
> 
>   %define _prefix /usr/local
> 
> In which case change prefix to _prefix throughout the file.
> 
>   s/%{prefix}/%{_prefix}/g

No, don't do this.  Packages which (misguidedly) go in /usr/local
should not redefine %{_prefix}.  In fact, no package should redefine
%{_prefix}.

Michael

-- 
Michael Jennings (a.k.a. KainX)  http://www.kainx.org/  <mej kainx org>
n + 1, Inc., http://www.nplus1.net/       Author, Eterm (www.eterm.org)
-----------------------------------------------------------------------
 "I remember the time I knew what happiness was.  Let the memory live
  again."                                     -- "Memory", from /Cats/


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