Re: %files directive with relocation in %install

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

 



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@xxxxxxxxx>
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/

_______________________________________________
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