[packages/adapter: 148/631] - kill leading zero from %attr
glen
glen at pld-linux.org
Mon Sep 12 19:46:52 CEST 2016
commit f9d5d512552c6c049f61e4a769c5e284328722c7
Author: Elan Ruusamäe <glen at pld-linux.org>
Date: Wed Mar 16 21:50:39 2005 +0000
- kill leading zero from %attr
Changed files:
adapter.awk -> 1.143
adapter.awk | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/adapter.awk b/adapter.awk
index a8ab4c0..0290e1e 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -708,6 +708,8 @@ function use_files_macros( i, n, t, a)
$0 = "%attr(755,root,root) " $0
}
+ gsub("%attr\(0", "%attr(")
+
# sort %verify attrs
if (match($0, /%verify\(not (.*)\)/)) {
t = substr($0, RSTART, RLENGTH)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885
More information about the pld-cvs-commit
mailing list