SPECS: adapter.awk - shouldn't unify urls in Obsoletes field

glen glen at pld-linux.org
Fri Apr 4 22:41:56 CEST 2008


Author: glen                         Date: Fri Apr  4 20:41:56 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- shouldn't unify urls in Obsoletes field

---- Files affected:
SPECS:
   adapter.awk (1.386 -> 1.387) 

---- Diffs:

================================================================
Index: SPECS/adapter.awk
diff -u SPECS/adapter.awk:1.386 SPECS/adapter.awk:1.387
--- SPECS/adapter.awk:1.386	Fri Apr  4 22:40:30 2008
+++ SPECS/adapter.awk	Fri Apr  4 22:41:51 2008
@@ -1634,7 +1634,11 @@
 
 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)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/adapter.awk?r1=1.386&r2=1.387&f=u



More information about the pld-cvs-commit mailing list