]> git.pld-linux.org Git - packages/rpm-build-tools.git/blobdiff - adapter.awk
- if locale dir is misused, it's mostly in subdir (less fakes now)
[packages/rpm-build-tools.git] / adapter.awk
index 83d7743abf62385b7079616d10008121144843c5..8bc9ecec799822d697efb86f13931e717b175f92 100644 (file)
@@ -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"
        }
 
This page took 0.070775 seconds and 4 git commands to generate.