X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=rpm-php-requires.php;h=b39802993bc09d5d25656eb32939a69a054b101e;hb=0b0a7839a4d91a5f1b76681ee2ae6b6dfdf43f42;hp=85686bfcabb430664d1a3c7a9090c9aa03a76823;hpb=53a7793d5201707129b2e21accd096a55c1fbeb4;p=packages%2Frpm.git diff --git a/rpm-php-requires.php b/rpm-php-requires.php index 85686bf..b398029 100644 --- a/rpm-php-requires.php +++ b/rpm-php-requires.php @@ -1,5 +1,9 @@ #!/usr/bin/php (Perl version) * Elan Ruusamäe * + * URL: + * * Requires: php-pear-PHP_CompatInfo * Requires: php-pcre */ @@ -140,6 +146,10 @@ function extdeps($files) { if ($ext == 'bz2') { $ext = 'bzip2'; } + // libxml ext is in php-xml package + if ($ext == 'libxml') { + $ext = 'xml'; + } // these need to be lowercased if (in_array($ext, array('SPL', 'PDO', 'SQLite', 'Reflection', 'SimpleXML'))) {