Revision history [back]

How do I upgrade a package I've just rebuilt from source?

Hi. I've just rebuilt the .rpm of Vim from source on F29. I followed the usual scheme:

rpmdev-setuptree
sudo dnf builddep vim

However, when I run dnf upgrade it asks me to replace my newly compiled package with the one from the repo (which is the same version of course). How can I keep my package installed without dnf trying to replace it?