+ // minimum php version we accept
+ // "%define php_min_version 5.1.2" in spec to minimum version to be 5.1.2
+ $version = max(PHP_MIN_VERSION, $res['version']);
+
+ if (version_compare($version, '5.0.0', 'ge')) {
+ # force php-<name> only deps when php5
+ # XXX what about php-pecl-<name> virtual provides?
+ $fmt = 'php-%s';