SPECS: adapter.awk - case insensitivity broke sorting
glen
glen at pld-linux.org
Fri Aug 31 22:30:50 CEST 2007
Author: glen Date: Fri Aug 31 20:30:50 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- case insensitivity broke sorting
---- Files affected:
SPECS:
adapter.awk (1.362 -> 1.363)
---- Diffs:
================================================================
Index: SPECS/adapter.awk
diff -u SPECS/adapter.awk:1.362 SPECS/adapter.awk:1.363
--- SPECS/adapter.awk:1.362 Fri Aug 31 22:28:46 2007
+++ SPECS/adapter.awk Fri Aug 31 22:30:45 2007
@@ -129,25 +129,25 @@
gsub(/^#[ \t]*/, "", s);
# force order
- gsub(/^Summary\(/i, "11Summary(", s);
- gsub(/^Summary/i, "10Summary", s);
- gsub(/^Name/i, "2Name", s);
- gsub(/^Version/i, "3Version", s);
- gsub(/^Release/i, "4Release", s);
- gsub(/^Epoch/i, "5Epoch", s);
- gsub(/^License/i, "5License", s);
- gsub(/^Group/i, "6Group", s);
- gsub(/^URL/i, "7URL", s);
+ gsub(/^Summary\(/, "11Summary(", s);
+ gsub(/^Summary/, "10Summary", s);
+ gsub(/^Name/, "2Name", s);
+ gsub(/^Version/, "3Version", s);
+ gsub(/^Release/, "4Release", s);
+ gsub(/^Epoch/, "5Epoch", s);
+ gsub(/^License/, "5License", s);
+ gsub(/^Group/, "6Group", s);
+ gsub(/^URL/, "7URL", s);
- gsub(/^BuildRequires/i, "B1BuildRequires", s);
- gsub(/^BuildConflicts/i, "B2BuildConflicts", s);
- gsub(/^Provides/i, "X1Provides", s);
- gsub(/^Obsoletes/i, "X2Obsoletes", s);
- gsub(/^Conflicts/i, "X3Conflicts", s);
- gsub(/^BuildArch/i, "X4BuildArch", s);
- gsub(/^ExclusiveArch/i, "X6ExclusiveArch", s);
- gsub(/^ExcludeArch/i, "X7ExcludeArch", s);
- gsub(/^BuildRoot/i, "X9BuildRoot", s);
+ gsub(/^BuildRequires/, "B1BuildRequires", s);
+ gsub(/^BuildConflicts/, "B2BuildConflicts", s);
+ gsub(/^Provides/, "X1Provides", s);
+ gsub(/^Obsoletes/, "X2Obsoletes", s);
+ gsub(/^Conflicts/, "X3Conflicts", s);
+ gsub(/^BuildArch/, "X4BuildArch", s);
+ gsub(/^ExclusiveArch/, "X6ExclusiveArch", s);
+ gsub(/^ExcludeArch/, "X7ExcludeArch", s);
+ gsub(/^BuildRoot/, "X9BuildRoot", s);
# printf("%s -> %s\n", a""b, s);
return s;
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/adapter.awk?r1=1.362&r2=1.363&f=u
More information about the pld-cvs-commit
mailing list