[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: kernel-2.4.20-37.9.legacy.src.rpm problem
- From: Michal Jaegermann <michal harddata com>
- To: Discussion of the Fedora Legacy Project <fedora-legacy-list redhat com>
- Subject: Re: kernel-2.4.20-37.9.legacy.src.rpm problem
- Date: Thu, 9 Dec 2004 10:13:59 -0700
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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]