[packages/adapter: 436/631] - add ruby_rdocdir

glen glen at pld-linux.org
Mon Sep 12 20:10:59 CEST 2016


commit 518471615725429ef8ea1d6e8bc26a37efa25073
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Tue Jan 6 05:42:32 2009 +0000

    - add ruby_rdocdir
    
    Changed files:
        adapter.awk -> 1.415
        adapter.sh -> 1.33

 adapter.awk | 2 ++
 adapter.sh  | 1 +
 2 files changed, 3 insertions(+)
---
diff --git a/adapter.awk b/adapter.awk
index e82e41a..10b1384 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -1069,6 +1069,7 @@ function use_macros()
 	gsub(ruby_rubylibdir, "%{ruby_rubylibdir}")
 	gsub(ruby_sitearchdir, "%{ruby_sitearchdir}")
 	gsub(ruby_sitelibdir, "%{ruby_sitelibdir}")
+	gsub(ruby_rdocdir, "%{ruby_rdocdir}")
 
 	gsub("%{_datadir}/applications", "%{_desktopdir}")
 	gsub("%{_datadir}/pixmaps", "%{_pixmapsdir}")
@@ -1794,6 +1795,7 @@ function import_rpm_macros() {
 	ruby_rubylibdir = ENVIRON["ruby_rubylibdir"]
 	ruby_sitearchdir = ENVIRON["ruby_sitearchdir"]
 	ruby_sitelibdir = ENVIRON["ruby_sitelibdir"]
+	ruby_rdocdir = ENVIRON["ruby_rdocdir"]
 
 	php_pear_dir = ENVIRON["php_pear_dir"]
 	php_data_dir = ENVIRON["php_data_dir"]
diff --git a/adapter.sh b/adapter.sh
index afbcd4f..ffce649 100644
--- a/adapter.sh
+++ b/adapter.sh
@@ -182,6 +182,7 @@ import_rpm_macros() {
 	ruby_rubylibdir
 	ruby_sitearchdir
 	ruby_sitelibdir
+	ruby_rdocdir
 
 	php_pear_dir
 	php_data_dir
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885



More information about the pld-cvs-commit mailing list