Suggest installing minimal localization.

In a discussion with Stephen Gallagher <sgallagh@redhat.com> we
identified that it has been 4 years since we transitioned to
language packs and that at this point we could switch the suggestion
from glibc-all-langpacks to glibc-minimal-langpack which would
prevent an installation from ever accidentally having the larger
installation with all language packs.

This does not yet fix bug 1380069 which is about the removal of
glibc language packs and the way in which the virtual provide is
used.
This commit is contained in:
Carlos O'Donell 2020-08-20 18:02:31 -04:00
parent 7ec72a1eab
commit b1869f947a

View File

@ -96,7 +96,7 @@
Summary: The GNU libc libraries Summary: The GNU libc libraries
Name: glibc Name: glibc
Version: %{glibcversion} Version: %{glibcversion}
Release: 2%{?dist} Release: 3%{?dist}
# In general, GPLv2+ is used by programs, LGPLv2+ is used for # In general, GPLv2+ is used by programs, LGPLv2+ is used for
# libraries. # libraries.
@ -293,14 +293,13 @@ BuildRequires: libidn2
# For language packs we have glibc require a virtual dependency # For language packs we have glibc require a virtual dependency
# "glibc-langpack" wich gives us at least one installed langpack. # "glibc-langpack" wich gives us at least one installed langpack.
# If no langpack providing 'glibc-langpack' was installed you'd # If no langpack providing 'glibc-langpack' was installed you'd
# get all of them, and that would make the transition from a # get language-neutral support e.g. C, POSIX, and C.UTF-8 locales.
# system without langpacks smoother (you'd get all the locales # In the past we used to install the glibc-all-langpacks by default
# installed). You would then trim that list, and the trimmed list # but we no longer do this to minimize container and VM sizes.
# is preserved. One problem is you can't have "no" locales installed, # Today you must actively use the language packs infrastructure to
# in that case we offer a "glibc-minimal-langpack" sub-pakcage for # install language support.
# this purpose.
Requires: glibc-langpack = %{version}-%{release} Requires: glibc-langpack = %{version}-%{release}
Suggests: glibc-all-langpacks = %{version}-%{release} Suggests: glibc-minimal-langpack = %{version}-%{release}
%description %description
The glibc package contains standard libraries which are used by The glibc package contains standard libraries which are used by
@ -2020,6 +2019,9 @@ fi
%files -f compat-libpthread-nonshared.filelist -n compat-libpthread-nonshared %files -f compat-libpthread-nonshared.filelist -n compat-libpthread-nonshared
%changelog %changelog
* Tue Aug 18 2020 Carlos O'Donell <carlos@redhat.com> - 2.32.9000-3
- Suggest installing minimal localization e.g. C, POSIX, C.UTF-8.
* Mon Aug 17 2020 DJ Delorie <dj@redhat.com> - 2.32.9000-2 * Mon Aug 17 2020 DJ Delorie <dj@redhat.com> - 2.32.9000-2
- Auto-sync with upstream branch master, - Auto-sync with upstream branch master,
commit cb7e7a5ca1d6d25d59bc038bdc09630e507c41e5. commit cb7e7a5ca1d6d25d59bc038bdc09630e507c41e5.