Author: glen                         Date: Tue Mar 23 11:48:51 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- more exts need to be lowercased

---- Files affected:
packages/rpm:
   rpm-php-requires.php (1.17 -> 1.18) 

---- Diffs:

================================================================
Index: packages/rpm/rpm-php-requires.php
diff -u packages/rpm/rpm-php-requires.php:1.17 
packages/rpm/rpm-php-requires.php:1.18
--- packages/rpm/rpm-php-requires.php:1.17      Thu Mar 11 00:03:38 2010
+++ packages/rpm/rpm-php-requires.php   Tue Mar 23 12:48:46 2010
@@ -140,15 +140,12 @@
                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);
        }
 }
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/rpm/rpm-php-requires.php?r1=1.17&r2=1.18&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to