For example, if the server (CentOS) has PHP 5.2.6 installed and has added a third party repository that provides both PHP 5.2.12 and PHP 5.3.1.
PHP 5.2.12 and PHP 5.3.1 are the latest versions for PHP 5.2 and PHP 5.3 respectively.
When yum update command runs, will yum simply upgrade PHP 5.2.6 to PHP 5.3.1?
Or it has some intelligence that a major upgrade (5.2 to 5.3) may cause problems and thus to be safe, it decides to upgrade to PHP 5.2.12 instead?
By the way, will a repository contain multiple versions of a package, or it only contains the latest version?