On Mon, 2011-01-17 at 15:42 +0530, Lakshmipathi.G 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 )
Hi, You don't have to do anything. If the current version-release is < version-release of the new rpm, rpm -U will upgrade the package. It is the packagers responsibility to have sane package versioning, and rpms to upgrade. Regards, Ankur _______________________________________________ india mailing list [email protected] https://admin.fedoraproject.org/mailman/listinfo/india
