SPECS: adapter.awk - Development/Docs -> Documentation group trans...

glen glen at pld-linux.org
Tue Dec 13 13:55:47 CET 2005


Author: glen                         Date: Tue Dec 13 12:55:47 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- Development/Docs -> Documentation group trans
- also split obsoletes by comma

---- Files affected:
SPECS:
   adapter.awk (1.233 -> 1.234) 

---- Diffs:

================================================================
Index: SPECS/adapter.awk
diff -u SPECS/adapter.awk:1.233 SPECS/adapter.awk:1.234
--- SPECS/adapter.awk:1.233	Tue Dec 13 12:42:39 2005
+++ SPECS/adapter.awk	Tue Dec 13 13:55:42 2005
@@ -566,6 +566,7 @@
 		sub(/^Applications\/Compilers$/, "Development/Languages", Grupa)
 		sub(/^Applications\/Internet\/Peer to Peer/, "Applications/Networking", Grupa)
 		sub(/^Networking\/Deamons$/, "Networking/Daemons", Grupa)
+		sub(/^Development\/Docs$/, "Documentation", Grupa)
 
 		print "Group:\t\t" Grupa
 		if (Grupa ~ /^X11/ && x11 == 0)	# Is it X11 application?
@@ -594,8 +595,8 @@
 		sub(/PreReq:/, "Requires:", $1);
 	}
 
-	# split (build)requires on commas
-	if (field ~ /requires:/ && $0 ~ /,/) {
+	# split (build)requires, obsoletes on commas
+	if (field ~ /(obsoletes|requires):/ && $0 ~ /,/) {
 		l = substr($0, index($0, $2));
 		n = split(l, p, / *, */);
 		for (i in p) {
================================================================

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




More information about the pld-cvs-commit mailing list