SPECS: adapter.awk - leave "perl(DynaLoader) = %(%{__perl} -MDynaL...

glen glen at pld-linux.org
Tue Feb 28 00:17:33 CET 2006


Author: glen                         Date: Mon Feb 27 23:17:33 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- leave "perl(DynaLoader) = %(%{__perl} -MDynaLoader -e 'print DynaLoader->VERSION')" untouched

---- Files affected:
SPECS:
   adapter.awk (1.280 -> 1.281) 

---- Diffs:

================================================================
Index: SPECS/adapter.awk
diff -u SPECS/adapter.awk:1.280 SPECS/adapter.awk:1.281
--- SPECS/adapter.awk:1.280	Tue Feb 28 00:15:11 2006
+++ SPECS/adapter.awk	Tue Feb 28 00:17:27 2006
@@ -1333,8 +1333,8 @@
 }
 
 function format_requires(tag, value,	n, p, i, deps, ndeps) {
-	# skip any formatting for commented out items
-	if (/^#/) {
+	# skip any formatting for commented out items or some weird macros
+	if (/^#/ || /%\(/) {
 		return tag "\t" value
 	}
 	n = split(value, p, / *,? */);
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/adapter.awk?r1=1.280&r2=1.281&f=u



More information about the pld-cvs-commit mailing list