commit a68f7b3b531dd03519677ff323782b1825459dea
Author: Elan Ruusamäe <[email protected]>
Date:   Tue Mar 14 08:09:58 2006 +0000

    - prereq case sensitivity fixes
    
    Changed files:
        adapter.awk -> 1.294

 adapter.awk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/adapter.awk b/adapter.awk
index e3fd048..8772f19 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -651,7 +651,7 @@ preamble == 1 {
        }
 
        if (field ~ /prereq:/) {
-               sub(/PreReq:/, "Requires:", $1);
+               sub(/Pre[Rr]eq:/, "Requires:", $1);
        }
 
        # split (build)requires, obsoletes on commas
@@ -850,7 +850,7 @@ preamble == 1 {
 #   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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to