commit a64d362ec44787c93c9778ab0d12215fa0adbb2a
Author: Elan Ruusamäe <[email protected]>
Date:   Fri Apr 4 20:41:51 2008 +0000

    - shouldn't unify urls in Obsoletes field
    
    Changed files:
        adapter.awk -> 1.387

 adapter.awk | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/adapter.awk b/adapter.awk
index 27d639d..f9d6352 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -1634,7 +1634,11 @@ function demacroize(str)
 
 function kill_preamble_macros()
 {
-       if ($1 ~ /^URL:/ || $1 ~ /^Obsoletes:/) {
+       if ($1 ~ /^Obsoletes:/) {
+               # NB! assigning $2 a value breaks tabbing
+               $2 = demacroize($2);
+       }
+       if ($1 ~ /^URL:/) {
                # NB! assigning $2 a value breaks tabbing
                $2 = demacroize($2);
                $2 = unify_url($2)
================================================================

---- 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