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 |
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. |