Re: %files directive with relocation in %install

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

 



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

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux