!26 recover to provide glibc-minimal-langpack

Merge pull request !26 from Meredith/a23
This commit is contained in:
happy_orange 2023-02-22 14:17:32 +00:00 committed by Gitee
commit 89392b4044
No known key found for this signature in database
GPG key ID: 173E9B9CA92EEF8F

View file

@ -1,4 +1,4 @@
%define anolis_release 4 %define anolis_release 5
%bcond_without testsuite %bcond_without testsuite
# Default: Always build the benchtests. # Default: Always build the benchtests.
@ -328,8 +328,7 @@ BuildRequires: perl-interpreter
# Today you must actively use the language packs infrastructure to # Today you must actively use the language packs infrastructure to
# install language support. # install language support.
Requires: glibc-langpack = %{version}-%{release} Requires: glibc-langpack = %{version}-%{release}
Suggests: glibc-langpack-en = %{version}-%{release} Suggests: glibc-minimal-langpack = %{version}-%{release}
Suggests: glibc-langpack-zh = %{version}-%{release}
# Suggest extra gconv modules so that they are installed by default but can be # Suggest extra gconv modules so that they are installed by default but can be
# removed if needed to build a minimal OS image. # removed if needed to build a minimal OS image.
@ -506,6 +505,24 @@ Requires: %{name}-common = %{version}-%{release}
The glibc-langpack-zh package includes the basic information required The glibc-langpack-zh package includes the basic information required
to support the Mandarin Chinese language in your applications. to support the Mandarin Chinese language in your applications.
# No %files, this is an empty package. The C/POSIX and
# C.UTF-8 files are already installed by glibc. We create
# minimal-langpack because the virtual provide of
# glibc-langpack needs at least one package installed
# to satisfy it. Given that no-locales installed is a valid
# use case we support it here with this package.
%package minimal-langpack
Summary: Minimal language packs for %{name}.
Provides: glibc-langpack = %{version}-%{release}
Requires: %{name} = %{version}-%{release}
Requires: %{name}-common = %{version}-%{release}
%description minimal-langpack
This is a Meta package that is used to install minimal language packs.
This package ensures you can use C, POSIX, or C.UTF-8 locales, but
nothing else. It is designed for assembling a minimal system.
%files minimal-langpack
# Infrequently used iconv converter modules. # Infrequently used iconv converter modules.
%package gconv-extra %package gconv-extra
Summary: All iconv converter modules for %{name}. Summary: All iconv converter modules for %{name}.
@ -1719,8 +1736,11 @@ update_gconv_modules_cache ()
%files -f compat-libpthread-nonshared.filelist -n compat-libpthread-nonshared %files -f compat-libpthread-nonshared.filelist -n compat-libpthread-nonshared
%changelog %changelog
* Wed Feb 22 2023 Chunmei Xu <xuchunmei@linux.alibaba.com> - 2.36-5
- recover to provide glibc-minimal-langpack
* Wed Feb 22 2023 Chunmei Xu <xuchunmei@linux.alibaba.com> - 2.36-4 * Wed Feb 22 2023 Chunmei Xu <xuchunmei@linux.alibaba.com> - 2.36-4
- remove glibc-langpack-minimal - remove glibc-minimal-langpack
- add glibc-langpack-en/zh as suggests for glibc - add glibc-langpack-en/zh as suggests for glibc
* Thu Jan 5 2023 Chunmei Xu <xuchunmei@linux.alibaba.com> - 2.36-3 * Thu Jan 5 2023 Chunmei Xu <xuchunmei@linux.alibaba.com> - 2.36-3