How can a package be pinned, so that dnf (or any other software updater) does not downgrade or upgrade it?
I have compiled and installed a rpm package for rear from source (v2.5), but when attempting to upgrade my sytem from Fedora 30 to Fedora 31, it attempts to downgrade to rear-2.4-4.fc31.