Re: [CentOS] How to install source rpm on centos

2011-03-13 Thread Akemi Yagi
On Sun, Mar 13, 2011 at 7:47 AM, sync 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 packa

Re: [CentOS] How to install source rpm on centos

2011-03-13 Thread Nico Kadel-Garcia
On Sun, Mar 13, 2011 at 10:47 AM, sync 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 pack

Re: [CentOS] How to install source rpm on centos

2011-03-13 Thread sync
On Sun, Mar 13, 2011 at 10:27 PM, Tom Diehl wrote: > 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@test ~: rpmbuild --rebuild pssh-1.2.

Re: [CentOS] How to install source rpm on centos

2011-03-13 Thread Tom Diehl
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@test ~: rpmbuild --rebuild pssh-1.2.2-1.rf.src.rpm > Installing pssh-1.2.2-1.rf.src.rpm > error: cannot create

[CentOS] How to install source rpm on centos

2011-03-13 Thread sync
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@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.