Accepting request 796477 from Base:System

- Split off %lang_package (forwarded request 796476 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/796477
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glibc?expand=0&rev=237
This commit is contained in:
Dominique Leuenberger 2020-04-25 19:22:56 +00:00 committed by Git OBS Bridge
commit 6567879208
2 changed files with 17 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Apr 20 12:43:19 UTC 2020 - Andreas Schwab <schwab@suse.de>
- Split off %lang_package
-------------------------------------------------------------------
Thu Mar 12 10:21:15 UTC 2020 - Andreas Schwab <schwab@suse.de>

View File

@ -446,6 +446,8 @@ The glibc-extra package contains some extra binaries for glibc that
are not essential but recommend to use.
makedb: A program to create a database for nss
%lang_package
%endif # main
%prep
@ -819,8 +821,14 @@ cc-base/elf/ldconfig -vn $destdir
mv {en_US,C}.utf8 %{buildroot}/usr/lib/locale/
cd ..
%endif
# Create file list for glibc-locale package
%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:
@ -1225,7 +1233,7 @@ exit 0
%{_libdir}/gconv/gconv-modules
%attr(0644,root,root) %verify(not md5 size mtime) %ghost %{_libdir}/gconv/gconv-modules.cache
%files locale -f libc.lang
%files locale
%defattr(-,root,root)
%if %{build_locales}
%{_prefix}/lib/locale
@ -1328,6 +1336,8 @@ exit 0
%{_bindir}/makedb
%{_prefix}/share/misc/Makefile.makedb
/var/lib/misc/Makefile
%files lang -f libc.lang
%endif # !i686
%endif # main