It may be required that you would like to make your own RPM or make changes to files owned by that RPM package and want to prevent the RPM from being updated or to get warnings about changes made to that RPM manually.
We have Documentation covering this at
An example is if you wanted to set RoundCube to unmanaged because a plugin was installed changing files owned by the RoundCube RPM files.
/usr/local/cpanel/scripts/update_local_rpm_versions --edit target_settings.roundcube unmanaged
This modifies /var/cpanel/rpm.versions.d/local.versions with that change.
In order for the RPM to update later on if needed then that needs to be undone with
/scripts/update_local_rpm_versions --del target_settings.roundcube
and if needed the changes installed again and then set to unmanaged.
The target name of the RPM or RPM group can be obtained from /usr/local/cpanel/etc/rpm.versions