[packages/adapter: 405/631] - shouldn't unify urls in Obsoletes field

glen glen at pld-linux.org
Mon Sep 12 20:08:23 CEST 2016


commit a64d362ec44787c93c9778ab0d12215fa0adbb2a
Author: Elan Ruusamäe <glen at pld-linux.org>
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



More information about the pld-cvs-commit mailing list