On Tue, Jan 07, 2003 at 12:06:37PM -0500, Keith Winston wrote:
> Install the source rpm you want, then...
> 
> rpmbuild -bp <specfile>
> 
> The build prep option will unpack the original source and patch them
> with any Red Hat patches, and leave the source in /usr/src/redhat/BUILD
> where you can play with it.

I strongly recommend that you create an rpmbuild environment in your
home area rather than /usr/src/redhat.  It's easy to do.  Just create
~/.rpmmacros containing:
%_topdir        /home/ewilts/rpm

Now create the directories in your rpm sub-directory just like they're
in /usr/src/redhat.  When you install the source rpm, it will be in your
own sub-directory.  Ditto when you build it and the final rpm ready to
be installed will be in ~/rpm/RPMS/<architecture>

Cheers,
        .../Ed
-- 
Ed Wilts, Mounds View, MN, USA
mailto:[EMAIL PROTECTED]
Member #1, Red Hat Community Ambassador Program



-- 
Psyche-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/psyche-list

Reply via email to