[CentOS] How to install source rpm on centos

Sun Mar 13 14:23:21 UTC 2011
sync <jiannma at gmail.com>

Hi to all.


I'm having a problem with the rpm command on centos 5.5;
I am used to recompile a source rpm with the following command:



root at test ~: rpmbuild --rebuild pssh-1.2.2-1.rf.src.rpm
Installing pssh-1.2.2-1.rf.src.rpm
error: cannot create %sourcedir /home/test/rpm/SOURCES
error: pssh-1.2.2-1.rf.src.rpm cannot be installed


Does anybody know something about that ?
Thanks in advance....
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20110313/89021b8b/attachment-0004.html>