Been a while since I read the how to ... All that is talking about is building a build enviroment for a user (i.e) non root. You need rpm-build installed. Copy the spec file to the SPEC directory in your build tree. Everything else to the SOURCES directory Here is a quick simple script for building a user rpmbuild directory #!/bin/sh # #START echo "Run this as your normal user in users home directory"; echo "Press a key. . ." ; read # cp -a /usr/src/redhat/ rpmbuild # cat <<EOFRPMRC > ~/.rpmrc buildarchtranslate: i386: i386 buildarchtranslate: i486: i486 buildarchtranslate: i586: i586 buildarchtranslate: i686: i686 EOFRPMRC # cat <<EOFRPMMACROS > ~/.rpmmacros %_topdir /home/user/rpmbuild %_tmppath /home/user/rpmbuild/tmp %_signature gpg %_gpg_name CentOS 4 %_gpg_path ~/.gnupg %distribution CentOS 4 %vendor Caos EOFRPMMACROS # echo "Ex. rpmbuild --rebuild --target i686" echo " Ex. binary only - rpmbuild -bb foo.spec" echo " Ex. binary and src - rpmbuild -ba foo.spec" #END On Sat, 2005-05-14 at 20:45 -0600, Collins Richey wrote: > On 5/14/05, Linux Rockz <linuxrockz at gmail.com> wrote: > > Alternatively, you can also build an rpm also if you can't wait.... > > This is a good howto and really is pretty easy > > > > http://fedoranews.org/blog/?p=656 > > > > Looks simple enough, but what about all the Fedora-specific elements? > Is there an equivalent for CentOS? > > ie fedora-rpmdevtools, fedora-buildrpmtree, etc. > > Will these create problems on CentOS? > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20050514/f8ebbffd/attachment-0005.html>