Hi,

I have used "Obsoletes" in my RPM spec file to rename my old rpm package. When I am trying to upgrade from the old (obsolete) package, the "%preun" section gets called in the old (obsolete) package with $1 = 0.

The "%preun" section contains the code for stopping the service, so whenever I am trying to upgrade using -Uvh after completing the installation the service stops.

Is there are anything I am missing here ?
Can anyone please let me know what is the standard procedure for renaming a rpm package.

Thanks

Supratik