From 7c102c555cb9bdd8127bc7a4d8f1172f6e559609 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Wed, 24 Feb 2016 08:27:57 +0100 Subject: [PATCH] Move the charmaps into the locale-source sub-package as well. --- glibc.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/glibc.spec b/glibc.spec index 4f32ad0..cd56c48 100644 --- a/glibc.spec +++ b/glibc.spec @@ -1494,12 +1494,14 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/lib/debug%{_libdir}/*_p.a # primary filelist - # remove the locale sources, they go into the sub-package "locale-source": - I18N_LANG='\,.*/share/i18n/locales/.*,d' # Also remove the *.mo entries. We will add them to the # language specific sub-packages. + # Also remove the locale sources (.*/share/i18n/locales/.* + # and .*/share/i18n/charmaps/.*), they go into the sub-package + #"locale-source": sed -e '\,.*/share/locale/\([^/_]\+\).*/LC_MESSAGES/.*\.mo,d' \ - -e "$I18N_LANG" \ + -e '\,.*/share/i18n/locales/.*,d' \ + -e '\,.*/share/i18n/charmaps/.*,d' \ -e '\,/etc/\(localtime\|nsswitch.conf\|ld\.so\.conf\|ld\.so\.cache\|default\|rpc\|gai\.conf\),d' \ -e '\,/%{_lib}/lib\(pcprofile\|memusage\)\.so,d' \ -e '\,bin/\(memusage\|mtrace\|xtrace\|pcprofiledump\),d' @@ -2141,6 +2143,8 @@ rm -f *.filelist* %defattr(-,root,root) %dir %{_prefix}/share/i18n/locales %{_prefix}/share/i18n/locales/* +%dir %{_prefix}/share/i18n/charmaps +%{_prefix}/share/i18n/charmaps/* %files -f devel.filelist devel %defattr(-,root,root)