How do we rename a rpm build?
问题 I wanted to change the name of my rpm file from oldname-7.x86_64.rpm to newname-8.x86_64.rpm. I created the new rpm with the new name but when I try to execute rpm -Uvh newname-8.x86_64.rpm it throws the following error: file XXXXX from install of oldname-7.x86_64 conflicts with file from package newname-8.x86_64. rpm upgrade removes the package and install the new package. But in my case package name is different so it is not removing the package. Should I remove the oldname project using