SPECS: adapter.awk - license unify

glen glen at pld-linux.org
Sat Mar 4 15:18:34 CET 2006


Author: glen                         Date: Sat Mar  4 14:18:34 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- license unify

---- Files affected:
SPECS:
   adapter.awk (1.289 -> 1.290) 

---- Diffs:

================================================================
Index: SPECS/adapter.awk
diff -u SPECS/adapter.awk:1.289 SPECS/adapter.awk:1.290
--- SPECS/adapter.awk:1.289	Sat Mar  4 13:15:31 2006
+++ SPECS/adapter.awk	Sat Mar  4 15:18:29 2006
@@ -669,6 +669,15 @@
 		$1 = "License:"
 	}
 
+	if (field ~ /license:/) {
+		l = substr($0, index($0, $2));
+		if (l == "Python Software Foundation License") {
+			l = "PSF"
+		}
+		$0 = "License:\t" l;
+	}
+
+
 	if (field ~ /name:/) {
 		if ($2 == "%{name}" && name) {
 			$2 = name
================================================================

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



More information about the pld-cvs-commit mailing list