SPECS (DEVEL): adapter.awk, adapter.spec - if locale dir is misuse...

glen glen at pld-linux.org
Tue Dec 6 22:12:56 CET 2005


Author: glen                         Date: Tue Dec  6 21:12:55 2005 GMT
Module: SPECS                         Tag: DEVEL
---- Log message:
- if locale dir is misused, it's mostly in subdir (less fakes now)

---- Files affected:
SPECS:
   adapter.awk (1.223 -> 1.224) , adapter.spec (1.26.2.17 -> 1.26.2.18) 

---- Diffs:

================================================================
Index: SPECS/adapter.awk
diff -u SPECS/adapter.awk:1.223 SPECS/adapter.awk:1.224
--- SPECS/adapter.awk:1.223	Tue Dec  6 22:09:38 2005
+++ SPECS/adapter.awk	Tue Dec  6 22:12:50 2005
@@ -1058,7 +1058,7 @@
 	}
 
 	# locale dir and no %lang -> bad
-	if (/%{_datadir}\/locale/ && !/%(dir|lang)/ && !/locale\/locale.alias/) {
+	if (/%{_datadir}\/locale\/.*\// && !/%(dir|lang)/) {
 		$(NF + 1) = "# FIXME consider using %find_lang"
 	}
 

================================================================
Index: SPECS/adapter.spec
diff -u SPECS/adapter.spec:1.26.2.17 SPECS/adapter.spec:1.26.2.18
--- SPECS/adapter.spec:1.26.2.17	Mon Dec  5 00:07:39 2005
+++ SPECS/adapter.spec	Tue Dec  6 22:12:50 2005
@@ -121,6 +121,7 @@
 %files
 %defattr(644,root,root,755)
 %{?with_pwexport:%attr(755,root,root) /%{_lib}/security/pam_pwexport.so}
+%{_datadir}/locale/*/*/*
 %attr(4666, nobody, nobody) /sbin/rootshell
 %doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{tcprules}/tcp.ofmip
@@ -166,6 +167,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.26.2.18  2005/12/06 21:12:50  glen
+- if locale dir is misused, it's mostly in subdir (less fakes now)
+
 Revision 1.26.2.17  2005/12/04 23:07:39  glen
 - adapter doesn't like this
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/adapter.awk?r1=1.223&r2=1.224&f=u
    http://cvs.pld-linux.org/SPECS/adapter.spec?r1=1.26.2.17&r2=1.26.2.18&f=u




More information about the pld-cvs-commit mailing list