On 17 January 2011 15:42, Lakshmipathi.G <[email protected]> wrote:
> Sorry for late reply (came online after pongal holidays :P ). I think,there
> is some misunderstanding on my question . May be I should be more clearer.I
> have written an rpm spec file and built binary rpm using "rpmbuild" and
> installing this rpm (-i) works well.
> Now I want to provide rpm -U option - so that user can upgrade to next
> version easily (Currently user have to use rpm -e and rpm -i <new-version>).
> Google gave me this  http://www.ibm.com/developerworks/library/l-rpm2/  but
> I'm looking for more info/links -on how to create upgradable
> packages.(writting rpm spec file that supports rpm -U )

You do not need to do anything special to make the package
"upgradable". Simply increase the version number for the new package
in the spec file. The RPM system has the upgrade logic built into it.
-- 
Debayan Banerjee
Software Engineer
_______________________________________________
india mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/india

Reply via email to