SPECS: adapter.awk - prereq case sensitivity fixes
glen
glen at pld-linux.org
Tue Mar 14 09:10:04 CET 2006
Author: glen Date: Tue Mar 14 08:10:04 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- prereq case sensitivity fixes
---- Files affected:
SPECS:
adapter.awk (1.293 -> 1.294)
---- Diffs:
================================================================
Index: SPECS/adapter.awk
diff -u SPECS/adapter.awk:1.293 SPECS/adapter.awk:1.294
--- SPECS/adapter.awk:1.293 Tue Mar 14 01:22:38 2006
+++ SPECS/adapter.awk Tue Mar 14 09:09:58 2006
@@ -651,7 +651,7 @@
}
if (field ~ /prereq:/) {
- sub(/PreReq:/, "Requires:", $1);
+ sub(/Pre[Rr]eq:/, "Requires:", $1);
}
# split (build)requires, obsoletes on commas
@@ -850,7 +850,7 @@
# so don't adapterize when the BR/R are mixed with comments
ENVIRON["SKIP_SORTBR"] != 1 && preamble == 1 && $0 ~ PREAMBLE_TAGS, $0 ~ PREAMBLE_TAGS {
if ($1 ~ /Pre[Rr]eq:/) {
- sub(/PreReq:/, "Requires:", $1);
+ sub(/Pre[Rr]eq:/, "Requires:", $1);
}
format_preamble()
# kill_preamble_macros(); # breaks tabbing
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/adapter.awk?r1=1.293&r2=1.294&f=u
More information about the pld-cvs-commit
mailing list