RPM keeps track of conflicts with already installed packages and will alert you of those conflicts. Under normal circumstances, unless the installer overrides with the -force option RPM will refuse to install the package.