]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- locale dir and no %lang is mostly bad
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 6 Dec 2005 21:06:42 +0000 (21:06 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- peer to beer group translate

Changed files:
    adapter.awk -> 1.222

adapter.awk

index 78f4155c87fea674c642daeb7417a7bd327d1d1a..c925b1aafa3d02858154485989611c52c5f40eb9 100644 (file)
@@ -516,6 +516,7 @@ preamble == 1 {
                sub(/^X11\/Xserver$/, "X11/Servers", Grupa)
                sub(/^X11\/XFree86$/, "X11", Grupa)
                sub(/^Applications\/Compilers$/, "Development/Languages", Grupa)
+               sub(/^Applications\/Internet\/Peer to Peer/, "Applications/Networking", Grupa)
 
                print "Group:\t\t" Grupa
                if (Grupa ~ /^X11/ && x11 == 0) # Is it X11 application?
@@ -1054,6 +1055,11 @@ function use_files_macros(       i, n, t, a)
                gsub("\.gz$", "*")
        }
 
+       # locale dir and no %lang -> bad
+       if (/%{_datadir}\/locale/ && !/%(dir|lang)/ && !/locale\/locale.alias/) {
+               $(NF + 1) = "# FIXME consider using %find_lang"
+       }
+
        # atrpms
        $0 = fixedsub("%{perl_man1dir}", "%{_mandir}/man1", $0);
        $0 = fixedsub("%{perl_man3dir}", "%{_mandir}/man3", $0);
This page took 0.035629 seconds and 4 git commands to generate.