how to exract rpm files and rebuild it again?
Hello,
I want to extract one .rpm file and want to add one .txt file and then I want to rebuld it . will it work or not . I got some thing like rpm2cpio command but is that the only way to extract .Kindly tell me is there any other efficient way to do this and also tell me how to rebuld this again into .rpm file. Thanks |
Using:
Quote:
|
Thanks,
Now I got the contents of rpm I have added one file to it and now i want to rebuild it again . Kindly tell me the command to do so. Thanks |
This is the thing which you need to do once before building rpms:
Install the core development tools using YUM. As root: Quote:
Quote:
Quote:
Now, provided that you have a SPEC file for your program, you can build the binary RPM package by issuing the command: Quote:
Quote:
|
Quote:
Quote:
http://www.rpm.org/max-rpm/s1-rpm-bu...spec-file.html http://www.ibm.com/developerworks/library/l-rpm1/ http://rpm5.org/docs/rpm-guide.html |
Quote:
|
All times are GMT -5. The time now is 11:22 AM. |