SPECS: adapter.awk - remove leading whitespace from entries in %files
aredridel
aredridel at pld-linux.org
Sat Jun 2 04:08:15 CEST 2007
Author: aredridel Date: Sat Jun 2 02:08:15 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- remove leading whitespace from entries in %files
---- Files affected:
SPECS:
adapter.awk (1.354 -> 1.355)
---- Diffs:
================================================================
Index: SPECS/adapter.awk
diff -u SPECS/adapter.awk:1.354 SPECS/adapter.awk:1.355
--- SPECS/adapter.awk:1.354 Sun Apr 15 09:25:45 2007
+++ SPECS/adapter.awk Sat Jun 2 04:08:09 2007
@@ -1447,6 +1447,9 @@
gsub("%attr\\(0", "%attr(")
}
+ # kill leading whitespace
+ gsub(/^ */, "");
+
# kill default attrs
gsub(/%dir %attr\(755,root,root\)/, "%dir");
gsub(/%attr\(755,root,root\) %dir/, "%dir");
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/adapter.awk?r1=1.354&r2=1.355&f=u
More information about the pld-cvs-commit
mailing list