diff --git a/glibc.spec b/glibc.spec index 7bbfa2f..361f040 100644 --- a/glibc.spec +++ b/glibc.spec @@ -821,8 +821,14 @@ cc-base/elf/ldconfig -vn $destdir mv {en_US,C}.utf8 %{buildroot}/usr/lib/locale/ cd .. %endif + +%ifnarch i686 # Create file list for glibc-lang package %{find_lang} libc +%else +# The translations are shared with the base flavour +rm -rf %{buildroot}%{_datadir}/locale/*/ +%endif # Miscelanna: @@ -1330,9 +1336,9 @@ exit 0 %{_bindir}/makedb %{_prefix}/share/misc/Makefile.makedb /var/lib/misc/Makefile -%endif # !i686 %files lang -f libc.lang +%endif # !i686 %endif # main