[packages/adapter: 300/631] - license unify

glen glen at pld-linux.org
Mon Sep 12 19:59:36 CEST 2016


commit 3b07e07f8a55dd21f707a656b8ad11a8c1eb3063
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Sat Mar 4 14:18:29 2006 +0000

    - license unify
    
    Changed files:
        adapter.awk -> 1.290

 adapter.awk | 9 +++++++++
 1 file changed, 9 insertions(+)
---
diff --git a/adapter.awk b/adapter.awk
index faec91a..1313e17 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -669,6 +669,15 @@ preamble == 1 {
 		$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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885



More information about the pld-cvs-commit mailing list