[packages/adapter: 226/631] - don't enforce %attr for %excluded .so files

glen glen at pld-linux.org
Mon Sep 12 19:53:24 CEST 2016


commit 676343b4fc026f5f47909e73603ad581a0da8f43
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Sun Dec 4 22:54:58 2005 +0000

    - don't enforce %attr for %excluded .so files
    
    Changed files:
        adapter.awk -> 1.217

 adapter.awk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/adapter.awk b/adapter.awk
index 11759c8..b938246 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -1000,7 +1000,7 @@ function use_files_macros(	i, n, t, a)
 		}
 	}
 
-	if (/lib.+\.so/ && !/^%attr.*/) {
+	if (/lib.+\.so/ && !/^%attr.*/ && !/%exclude/) {
 		$0 = "%attr(755,root,root) " $0
 	}
 
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list