LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   help with source rpms with rehat8.0 (https://www.linuxquestions.org/questions/linux-newbie-8/help-with-source-rpms-with-rehat8-0-a-56546/)

amtsdw 04-24-2003 05:38 AM

help with source rpms with rehat8.0
 
Can anyone tell me how to rebuild a source rpm on redhat8.0. On 7.3 I used

rpm -rebuild xxxx.src.rpm

but this doesn't work with redhat8.0. Thanks in advance

aizkorri 04-24-2003 08:12 AM

Well, there could be other options but what about this?
First install it using rpm -i whateverrpm.src.rpm
and then it will copy the spec file in /usr/src/redhat/SPECS.
Then rpm -ba whateverspec.spec and it should create a installable rpm in /usr/src/redhat/RPMS.


All times are GMT -5. The time now is 06:57 AM.