[packages/adapter: 231/631] - locale dir and no %lang is mostly bad - peer to beer group translate
glen
glen at pld-linux.org
Mon Sep 12 19:53:49 CEST 2016
commit ef6d2b7a58445582d578c5b76004cc976820d159
Author: Elan Ruusamäe <glen at pld-linux.org>
Date: Tue Dec 6 21:06:42 2005 +0000
- locale dir and no %lang is mostly bad
- peer to beer group translate
Changed files:
adapter.awk -> 1.222
adapter.awk | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/adapter.awk b/adapter.awk
index 78f4155..c925b1a 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -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);
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885
More information about the pld-cvs-commit
mailing list