]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- %{php_data_dir}
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 31 Jul 2008 09:02:59 +0000 (09:02 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    adapter.awk -> 1.398

adapter.awk

index 3d6c776dc937e319322ad6d6e1ee26ab13c41370..e33c63063f0562808b2f39305839e441c316cd57 100644 (file)
@@ -99,6 +99,7 @@ BEGIN {
        "rpm --eval %ruby_sitelibdir" | getline ruby_sitelibdir
 
        "rpm --eval %php_pear_dir" | getline php_pear_dir
+       "rpm --eval %php_data_dir" | getline php_data_dir
        "rpm --eval %tmpdir" | getline tmpdir
 }
 
@@ -1185,6 +1186,7 @@ function use_macros()
        gsub(kdedocdir, "%{_kdedocdir}")
        gsub(docdir, "%{_docdir}")
        gsub(php_pear_dir, "%{php_pear_dir}")
+       gsub(php_data_dir, "%{php_data_dir}")
 
        for (c = 1; c <= NF; c++) {
                if ($c ~ datadir "/automake")
@@ -1486,6 +1488,8 @@ function use_files_macros(        i, n, t, a)
        gsub("%{_datadir}/applications", "%{_desktopdir}");
        gsub("%{_datadir}/icons", "%{_iconsdir}");
        gsub("%{_datadir}/pixmaps", "%{_pixmapsdir}");
+       gsub("%{_datadir}/pear", "%{php_pear_dir}");
+       gsub("%{_datadir}/php", "%{php_data_dir}");
 }
 
 function use_script_macros()
This page took 0.08119 seconds and 4 git commands to generate.