]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- match Summary(pl.UTF-8):
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 12 Feb 2007 21:49:31 +0000 (21:49 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- others

Changed files:
    adapter.awk -> 1.347

adapter.awk

index 7c97757cec05487e4b758a2888485728d9e00853..76e1efdeb1c2a0aeaa929fe2fa14131becf3108c 100644 (file)
@@ -684,6 +684,8 @@ preamble == 1 {
                sub(/^System Environment\/Base$/, "Base", group)
                sub(/^System$/, "Base", group)
                sub(/^Applications\/Productivity$/, "X11/Applications", group)
+               sub(/^Database$/, "Applications/Databases", group)
+               sub(/^Development\/Code Generators$/, "Development", group)
 
                $0 = "Group:\t\t" group
 
@@ -748,10 +750,12 @@ preamble == 1 {
                sub(/^java-devel$/, "jdk", $2);
                sub(/^log4j$/, "jakarta-log4j", $2);
                sub(/^oro$/, "jakarta-oro", $2);
+               sub(/^jakarta-ant$/, "ant", $2);
                sub(/^xerces-j2$/, "xerces-j", $2);
-               sub(/^ant-junit$/, "jakarta-ant", $2);
                sub(/^ldapjdk$/, "ldapsdk", $2);
                sub(/^saxon-scripts$/, "saxon", $2);
+               sub(/^xalan-j2$/, "xalan-j", $2);
+               sub(/^xerces-j2$/, "xerces-j", $2);
 
         replace_php_virtual_deps();
        }
@@ -1055,11 +1059,12 @@ function format_preamble()
                return;
        }
        sub(/:[ \t]*/, ":")
-       if (match($0, /[A-Za-z0-9(),#_ \t]+[ \t]*:[ \t]*/) == 1) {
-               if (RLENGTH < 8)
+       if (match($0, /[A-Za-z0-9(),#_ \t.-]+[ \t]*:[ \t]*/) == 1) {
+               if (RLENGTH < 8) {
                        sub(/:/, ":\t\t")
-               else
+        } else {
                        sub(/:/, ":\t")
+        }
        }
 }
 
@@ -1652,4 +1657,4 @@ function replace_php_virtual_deps()
     }
 }
 
-# vim:ts=4:sw=4:et
+# vim:ts=4:sw=4
This page took 0.050685 seconds and 4 git commands to generate.