On Tuesday, 27 June 2006, at 16:34:31 (-0500), Wesley Leggette wrote: > Okay. So should I stick with 'Prefix: /usr/local' and %{prefix}? Only if you're going to use /usr/local. But you shouldn't. If your package is not relocatable, don't use Prefix: at all. > 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. Yes, you are correct. Your teammate is wrong. You should always use things like %{_prefix}, %{_bindir}, etc. And only use Prefix: if your package truly is relocatable. And don't use %{_prefix}/foo when %{_foodir} exists, like with %{_bindir}, %{_libdir}, and so forth. Look in /usr/lib/rpm/macros for what's available. Michael -- Michael Jennings (a.k.a. KainX) http://www.kainx.org/ <mej@xxxxxxxxx> n + 1, Inc., http://www.nplus1.net/ Author, Eterm (www.eterm.org) ----------------------------------------------------------------------- "Perhaps the words are more important than the man." -- Kahless, ST:TNG, "Rightful Heir" _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list