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

Re: %files directive with relocation in %install



Michael Jennings wrote:
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}.

Okay. So should I stick with 'Prefix: /usr/local' and %{prefix}?

Also, can you elaborate on the 'misguidedly'. I was originally going to set the prefix to /usr but someone on my team told me that /usr/local is where non-system installed packages should go.

I originally thought that /usr was for ANY managed package, and /usr/local was for things compiled from source. Is that the correct interpretation.


Wesley


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