How to build a patch installer with rpm?
My use case is:
I build a package "mypack-1.0" which contains file a, b, and c.
I installed "mypack-1.0".
Then after a while, I think I've got a new version of file a.
So I tried to build a patch package "mypack-1.0-hotfix1", which only contain file a.
Then I want to install "mypack-1.0-hotfix1" on top of "mypack-1.0".
There will be patch package "mypack-1.0-hotfix2" for ever newer a.
patch package "mypack-1.0-sp1" for a and b.
I hope after installed "mypack-1.0", "mypack-1.0-hotfix1", "mypack-1.0-hotfix2". "mypack-1.0-sp1". I can uninstall them one by one without breaking anything.
This is a typical "patching".
Can anyone tell me how rpm can do it?
|