SPECS: adapter.awk - locale dir and no %lang is mostly bad - peer ...
glen
glen at pld-linux.org
Tue Dec 6 22:06:47 CET 2005
Author: glen Date: Tue Dec 6 21:06:47 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- locale dir and no %lang is mostly bad
- peer to beer group translate
---- Files affected:
SPECS:
adapter.awk (1.221 -> 1.222)
---- Diffs:
================================================================
Index: SPECS/adapter.awk
diff -u SPECS/adapter.awk:1.221 SPECS/adapter.awk:1.222
--- SPECS/adapter.awk:1.221 Mon Dec 5 23:25:32 2005
+++ SPECS/adapter.awk Tue Dec 6 22:06:42 2005
@@ -516,6 +516,7 @@
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?
@@ -1052,6 +1053,11 @@
if (/%{_mandir}/) {
gsub("\.gz$", "*")
+ }
+
+ # locale dir and no %lang -> bad
+ if (/%{_datadir}\/locale/ && !/%(dir|lang)/ && !/locale\/locale.alias/) {
+ $(NF + 1) = "# FIXME consider using %find_lang"
}
# atrpms
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/adapter.awk?r1=1.221&r2=1.222&f=u
More information about the pld-cvs-commit
mailing list