Re: Rpmbuild question

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

 



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:ewilts@ewilts.org
Member #1, Red Hat Community Ambassador Program



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux