]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- more exts need to be lowercased
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 23 Mar 2010 11:48:46 +0000 (11:48 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm-php-requires.php -> 1.18

rpm-php-requires.php

index cad6c674dd7058e5538ea46782e1a8fbee5894bc..85686bfcabb430664d1a3c7a9090c9aa03a76823 100644 (file)
@@ -140,15 +140,12 @@ function extdeps($files) {
                if ($ext == 'bz2') {
                        $ext = 'bzip2';
                }
-               // SPL ext is in php-spl package
-               if ($ext == 'SPL') {
-                       $ext = 'spl';
-               }
-               // ereg
-               if ($ext == 'ereg') {
-                       // not yet
-                       continue;
+
+               // these need to be lowercased
+               if (in_array($ext, array('SPL', 'PDO', 'SQLite', 'Reflection', 'SimpleXML'))) {
+                       $ext = strtolower($ext);
                }
+
                printf("$fmt\n", $ext);
        }
 }
This page took 0.040518 seconds and 4 git commands to generate.