format /usr/share/i18n/SUPPORTED as expected to fix locale.conf and locale.gen configuration with Calamares [release 2.40-5mamba;Sun Oct 20 2024]
This commit is contained in:
parent
57c9221784
commit
fa5678ff5c
12
glibc.spec
12
glibc.spec
@ -87,7 +87,7 @@
|
|||||||
|
|
||||||
Name: glibc
|
Name: glibc
|
||||||
Version: 2.40
|
Version: 2.40
|
||||||
Release: 4mamba
|
Release: 5mamba
|
||||||
Summary: The GNU libc libraries
|
Summary: The GNU libc libraries
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -540,8 +540,11 @@ ln -s ../lib/locale %{buildroot}/usr/lib32/locale
|
|||||||
done
|
done
|
||||||
popd
|
popd
|
||||||
# Add SUPPORTED file to package
|
# Add SUPPORTED file to package
|
||||||
install -m0644 localedata/SUPPORTED %{buildroot}%{glibc_datadir}/i18n/
|
# Note: needs to be reformatted like /etc/locale.gen e.g. for Calamares
|
||||||
[-e %{buildroot}%{glibc_libdir}/libbsd-compat.a ] && ln -sf libbsd-compat.a %{buildroot}%{glibc_libdir}/libbsd.a
|
sed -e '1,3d' -e 's|/| |g' -e 's| \\||g' \
|
||||||
|
localedata/SUPPORTED > %{buildroot}%{glibc_datadir}/i18n/SUPPORTED
|
||||||
|
|
||||||
|
[-e %{buildroot}%{glibc_libdir}/libbsd-compat.a ] && ln -sf libbsd-compat.a %{buildroot}%{glibc_libdir}/libbsd.a
|
||||||
%else
|
%else
|
||||||
# stage 1
|
# stage 1
|
||||||
make -C ../glibc-build-%{_target_platform} install-headers install_root=%{buildroot} cross-compiling=yes
|
make -C ../glibc-build-%{_target_platform} install-headers install_root=%{buildroot} cross-compiling=yes
|
||||||
@ -863,6 +866,9 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Oct 20 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2.40-5mamba
|
||||||
|
- format /usr/share/i18n/SUPPORTED as expected to fix locale.conf and locale.gen configuration with Calamares
|
||||||
|
|
||||||
* Sun Oct 13 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2.40-4mamba
|
* Sun Oct 13 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2.40-4mamba
|
||||||
- move locale.gen configuration from glibc to glibc-utils to fix some upgrade failures cases
|
- move locale.gen configuration from glibc to glibc-utils to fix some upgrade failures cases
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user