]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- Development/Docs -> Documentation group trans
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 13 Dec 2005 12:55:42 +0000 (12:55 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- also split obsoletes by comma

Changed files:
    adapter.awk -> 1.234

adapter.awk

index a9e73241fbc012adc92e42581d40915e5e3ff9b1..9fe37678f7310d06d1aa2ea3848d122bbff400d9 100644 (file)
@@ -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) {
This page took 0.062246 seconds and 4 git commands to generate.