[packages/adapter: 233/631] - if locale dir is misused, it's mostly in subdir (less fakes now)

glen glen at pld-linux.org
Mon Sep 12 19:53:59 CEST 2016


commit b9080a1bce44442478eddd48957df55b3ff92abc
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Tue Dec 6 21:12:50 2005 +0000

    - if locale dir is misused, it's mostly in subdir (less fakes now)
    
    Changed files:
        adapter.awk -> 1.224

 adapter.awk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/adapter.awk b/adapter.awk
index 83d7743..8bc9ece 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -1058,7 +1058,7 @@ function use_files_macros(	i, n, t, a)
 	}
 
 	# 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"
 	}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885



More information about the pld-cvs-commit mailing list