On Fri, Jul 11, 2008 at 6:52 AM, Filipe Brandenburger <filbranden@xxxxxxxxx> wrote: > Basically the steps to configure rpmbuild to work on your machine are: > > $ mkdir -p ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS} > $ echo '%_topdir %(echo $HOME)/rpmbuild' >~/.rpmmacros > > And then to rebuild a source rpm: > > $ rpmbuild --rebuild xxxxxx.src.rpm > > By the way, do we already have something on CentOS Wiki to help people > build their own RPMs? I think this would be helpful, since it's not > that easy to find that information from the man pages and > documentation. Not as a separate page but as part of the Kernel Source Wiki article: http://wiki.centos.org/HowTos/I_need_the_Kernel_Source#head-a8dae925eec15786df9f6f8c918eff16bf67be0d Yes, it is probably a good idea to provide its own wiki page because rebuilding from srpm is frequently asked in other places as well (like IRC and forums). Akemi _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos