[packages/adapter: 332/631] - $RPM_BUILD_ROOT/%{_lib} is okay

glen glen at pld-linux.org
Mon Sep 12 20:02:17 CEST 2016


commit 04dcfda93e5eedae8bfd7acb3a54f7cfc9a7ffd2
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Wed Jul 26 15:39:21 2006 +0000

    - $RPM_BUILD_ROOT/%{_lib} is okay
    
    Changed files:
        adapter.awk -> 1.320

 adapter.awk | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/adapter.awk b/adapter.awk
index 58b4e47..d17a225 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -461,7 +461,9 @@ function b_makekey(a, b,	s) {
 		gsub(buildroot, "$RPM_BUILD_ROOT")
     }
 
-    sub("\$RPM_BUILD_ROOT/%", "$RPM_BUILD_ROOT%")
+    if (!/%{_lib}/) {
+        sub("\$RPM_BUILD_ROOT/%", "$RPM_BUILD_ROOT%")
+    }
 
 	use_macros()
 
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list