Re: kernel-2.4.20-37.9.legacy.src.rpm problem

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

 



On Thu, Dec 09, 2004 at 04:22:24PM +0000, Brian Morrison wrote:
> 
> It's source is unpacked into /usr/src/redhat/SOURCES ....

Well, no, not really.  This gets unpacked into
 
     $(rpm --eval %_topdir)/SOURCES

where '/usr/src/redhat' happens to a be default value of
%_topdir on Red Hat originated systems and happens to be defined
in /usr/lib/rpm/macros.

If you are doing any development work with rpm packages then you
really should not be working as root but you should define your own
%_topdir in ~/.rpmmacros and use a content of /usr/src/redhat only
as a template.  Likely one day you will be really glad that you did. :-)

   Michal

--

fedora-legacy-list@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-legacy-list

[Index of Archives]     [Fedora Development]     [Fedora Announce]     [Fedora Legacy Announce]     [Fedora Config]     [PAM]     [Fedora General Discussion]     [Big List of Linux Books]     [Gimp]     [Yosemite Questions]

  Powered by Linux