SPECS: adapter.awk - strict URL: match

glen glen at pld-linux.org
Wed Oct 26 20:55:02 CEST 2005


Author: glen                         Date: Wed Oct 26 18:55:02 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- strict URL: match

---- Files affected:
SPECS:
   adapter.awk (1.206 -> 1.207) 

---- Diffs:

================================================================
Index: SPECS/adapter.awk
diff -u SPECS/adapter.awk:1.206 SPECS/adapter.awk:1.207
--- SPECS/adapter.awk:1.206	Wed Oct 26 12:32:22 2005
+++ SPECS/adapter.awk	Wed Oct 26 20:54:57 2005
@@ -571,7 +571,7 @@
 		$1 = "Epoch:"
 
 	# proper caps
-	if (field ~ /url:/)
+	if (field ~ /^url:$/)
 		$1 = "URL:"
 
 	# Use %{name} and %{version} in the filenames in "Source:"
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/adapter.awk?r1=1.206&r2=1.207&f=u




More information about the pld-cvs-commit mailing list