]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- php deps
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 26 Nov 2006 15:50:31 +0000 (15:50 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    adapter.awk -> 1.331

adapter.awk

index c8503f45b4119a81c2a6557b44b684704792bcc5..a768b0e2db658e231e3a13a106f9d6b710aa5f67 100644 (file)
@@ -1612,7 +1612,12 @@ function add_br(br)
 function replace_php_virtual_deps()
 {
     pkg = $2
-    if (pkg ~ /^php-/ && pkg !~ /^php-(pear|common|cli|devel|fcgi|cgi|dirs)/) {
+#    if (pkg == "php-program") {
+#        $0 = $1 "\t/usr/bin/php"
+#        return
+#    }
+
+    if (pkg ~ /^php-/ && pkg !~ /^php-(pear|common|cli|devel|fcgi|cgi|dirs|program|pecl-)/) {
         sub(/^php-/, "php(", pkg);
         sub(/$/, ")", pkg);
         $2 = pkg
This page took 0.0555 seconds and 4 git commands to generate.