From da64db43be164e25b5426618a3014ec99adc1fbde6c8ddafdd9b023ccfe19e45 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Thu, 23 Apr 2020 10:06:33 +0000 Subject: [PATCH] Accepting request 796476 from home:Andreas_Schwab:Factory - Split off %lang_package OBS-URL: https://build.opensuse.org/request/show/796476 OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=557 --- glibc.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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