[CentOS] building rpms
Phil Schaffner
Philip.R.Schaffner at NASA.gov
Thu Apr 12 15:09:26 UTC 2007
On Wed, 2007-04-11 at 15:39 -0400, Joshua Baker-LePain wrote:
> On Wed, 11 Apr 2007 at 3:36pm, Dave wrote
>
> > I've got a centos 4.4 box and i'd like to make some rpms for it. My first
> > task is to recompile an srpm removing some options to customize it. I tried
> > rpmbuild, which worked on a fedora install, but that command wasn't
> > available. What rpm do i have to install to make rpms? I've got rpmdb, rpm,
> > and rpm-libs already installed. I thought the missing one was rpm-utils, but
> > no go.
>
> $ yum provides /usr/bin/rpmbuild
> rpm-build.i386 4.3.3-18_nonptl base
> Matched from:
> /usr/bin/rpmbuild
See http://wiki.centos.org/TipsAndTricks/YumAndRPM "Get set up for
rebuilding packages while not being root". I like Method B.
Phil
More information about the CentOS
mailing list