]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
some fedoraishms
authorElan Ruusamäe <glen@delfi.ee>
Fri, 27 Nov 2015 22:57:07 +0000 (00:57 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Fri, 27 Nov 2015 22:57:07 +0000 (00:57 +0200)
adapter.awk

index d2793bd86b3be5526838a545bf3e76f4b4f876d6..ad9f98065bb1a2546d02b36275877f503123a1c1 100644 (file)
@@ -1329,6 +1329,7 @@ function use_macros()
        gsub(php_pear_dir, "%{php_pear_dir}")
        gsub(php_data_dir, "%{php_data_dir}")
        gsub("%{_datadir}/php", "%{php_data_dir}")
+       gsub("%{php_home}", "%{php_data_dir}")
 
        # change to %{_datadir}, with some exceptions
        for (c = 1; c <= NF; c++) {
@@ -2053,6 +2054,10 @@ function replace_php_virtual_deps(field) {
                }
        }
 
+       if (pkg == "php(language)") {
+               $2 = "php(core)"
+       }
+
        if (pkg == "php4") {
                $2 = "webserver(php)"
                if ($4 ~ /^[0-9]:/) {
This page took 0.034751 seconds and 4 git commands to generate.