On Sun, Mar 13, 2011 at 7:47 AM, sync <jian...@gmail.com> wrote:

> Thanks , The problem is solved now.
>
> I just run the following commands:
>
> root@test ~: cp -r /usr/src/redhat  /home/test/rpm
> root@test ~: rpmbuild --rebuild pssh-1.2.2-1.rf.src.rpm
>
>
> Then enter the rpm directory will find the xxx.rpm package, then run "rpm
> -ivh xx.rpm".

For future searchers, the details instructions are in the CentOS wiki:

http://wiki.centos.org/HowTos/SetupRpmBuildEnvironment

then follow:

http://wiki.centos.org/HowTos/RebuildSRPM

Akemi
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to