On Sun, Mar 13, 2011 at 10: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".

Workable, but if "/home/test/rpm" exists already, it will copy
"/usr/src/redhat" to "/home/test/rpm/redhat". This can get.....
confusing.
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to