[CentOS] How to install source rpm on centos

Tom Diehl tdiehl at rogueind.com
Sun Mar 13 14:27:44 UTC 2011


On Sun, 13 Mar 2011, sync wrote:

> 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

Just a guess but try creating the %sourcedir above. Most likely you
will need other directories as well. You could also use mock but that
will need to be setup as well.

Regards,

-- 
Tom Diehl       tdiehl at rogueind.com      Spamtrap address mtd123 at rogueind.com



More information about the CentOS mailing list