Am Mittwoch, 15. Juli 2015, 12:16:23 schrieb Olaf Hering:
How does rpmbuild decide if LANG in such line generated by /usr/lib/rpm/find-lang.sh is valid?
I think it matches against the entry in /usr/share/locale
%lang($LANG) /usr/share/locale/$LANG/LC_MESSAGES/$PKG.mo
I suggest to enhance /usr/lib/rpm/find-lang.sh to wipe all files in $LANG if its unknown by rpmbuild because at least the SLE11 version just ignores the line. As a result the build fails due to unpackaged files.
Thats what it does in openSUSE 13.x as I just learned, of course without telling you why. IMO it would make more sense to let find-lang.sh try to find the base language (nl_NL -> nl) and put the language files in there, instead of deleting them Best regards Axel -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org