SPECS: adapter.awk - enable sortbr by default. works good so far

glen glen at pld-linux.org
Tue Dec 13 16:02:52 CET 2005


Author: glen                         Date: Tue Dec 13 15:02:52 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- enable sortbr by default. works good so far

---- Files affected:
SPECS:
   adapter.awk (1.238 -> 1.239) 

---- Diffs:

================================================================
Index: SPECS/adapter.awk
diff -u SPECS/adapter.awk:1.238 SPECS/adapter.awk:1.239
--- SPECS/adapter.awk:1.238	Tue Dec 13 15:58:49 2005
+++ SPECS/adapter.awk	Tue Dec 13 16:02:47 2005
@@ -109,7 +109,7 @@
 #   so don't do that.
 # - comments leading the BR/R can not be associated,
 #   so don't adapterize when the BR/R are mixed with comments
-ENVIRON["SORTBR"] == 1 && preamble == 1 && /(Build)?Requires/, /(Build)?Requires/ { # && !/^%/) {
+ENVIRON["SKIP_SORTBR"] != 1 && preamble == 1 && /(Build)?Requires/, /(Build)?Requires/ {
 	b_idx++;
 	l = substr($0, index($0, $2));
 	b_ktmp = b_makekey($1, l);
================================================================

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




More information about the pld-cvs-commit mailing list