commit 98f6ba78d5c1a38a31e3e272376a9586410f4176
Author: Elan Ruusamäe <[email protected]>
Date:   Mon Jun 2 11:31:55 2014 +0300

    subst bash_compdir

 adapter.awk | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/adapter.awk b/adapter.awk
index 53aafec..a68309b 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -1258,6 +1258,7 @@ function use_macros()
        gsub(php_pear_dir, "%{php_pear_dir}")
        gsub(php_data_dir, "%{php_data_dir}")
 
+       # change to %{_datadir}, with some exceptions
        for (c = 1; c <= NF; c++) {
                if ($c ~ datadir "/automake")
                        continue
@@ -1268,6 +1269,9 @@ function use_macros()
                gsub(datadir, "%{_datadir}", $c)
        }
 
+       # bash completions dir, after datadir change
+       gsub("%{_datadir}/bash-completion/completions", "%{bash_compdir}")
+
        gsub("%{prefix}/share", "%{_datadir}")
        if (prefix"/share" == datadir)
                gsub("%{_prefix}/share", "%{_datadir}")
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-tools.git/commitdiff/98f6ba78d5c1a38a31e3e272376a9586410f4176

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

Reply via email to