Is it possible to modify/rebuild an rpm without the srpm?
Posted
by warren
on Super User
See other posts from Super User
or by warren
Published on 2010-04-21T12:45:14Z
Indexed on
2010/04/21
12:53 UTC
Read the original article
Hit count: 217
I have an rpm for which I need to change the preinstal scriptlet for testing.
However, I do not have the SRPM from which is was built.
Is it possible to change the scriptlet and/or rebuild the rpm without having the SRPM?
If so, how?
I've tried using Midnight Commander (mc
) to open the rpm as a directory structure and edit the contents, but even with 444
permissions, it won't let me save any changes.
© Super User or respective owner