Is it possible to unpack rpm change file then repack?
I have a binary rpm without the source rpm and I would like to change a file that gets installed (without having to do it post-install).
Is there a tool that can extract the files from an rpm so that I can make the change, and then be able to pack it back into a working rpm again? Also it would be good if it was possible to change the version number during this process as well. Thanks. |
rpm2tgz
rpmbuild |
Thanks, but that only seems to extract the files without creating any spec listing the information and dependencies of the rpm.
So when I tried to build it with rpmbuild it complained that the name, version, release etc must be present in package. Do I have the wrong version of rpm2tgz or is there some other way of extracting the spec with the files? Thanks. |
All times are GMT -5. The time now is 08:00 PM. |