[packages/adapter: 269/631] - set executable attr for perl shared libs

glen glen at pld-linux.org
Mon Sep 12 19:57:00 CEST 2016


commit ab9b09e2edc16a980867d8e983c9ca4c1fee2c22
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Fri Dec 30 00:21:29 2005 +0000

    - set executable attr for perl shared libs
    
    Changed files:
        adapter.awk -> 1.259

 adapter.awk | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/adapter.awk b/adapter.awk
index 66b7b6e..e593cd3 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -1124,6 +1124,10 @@ function use_files_macros(	i, n, t, a)
 		$0 = "%attr(755,root,root) " $0
 	}
 
+	if (/%{perl_vendorarch}.*\.so$/ && !/^%attr.*/) {
+		$0 = "%attr(755,root,root) " $0
+	}
+
 	# /etc/sysconfig files
 	# %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/*
 	# attr not required, allow default 644 attr
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list