[packages/adapter: 243/631] - Development/Docs -> Documentation group trans - also split obsoletes by comma

glen glen at pld-linux.org
Mon Sep 12 19:54:49 CEST 2016


commit 4aa6db151a7f73c505a95cd79b44e9891d4d60d8
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Tue Dec 13 12:55:42 2005 +0000

    - Development/Docs -> Documentation group trans
    - also split obsoletes by comma
    
    Changed files:
        adapter.awk -> 1.234

 adapter.awk | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/adapter.awk b/adapter.awk
index a9e7324..9fe3767 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -566,6 +566,7 @@ preamble == 1 {
 		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 @@ preamble == 1 {
 		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) {
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list