From d66852f03f58c66065e7d03980d9709a6188ea7d Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Thu, 17 Oct 2024 11:36:37 +0200 Subject: [PATCH] fix a mistake in locale.gen editing [release 4.1-3mamba;Thu Oct 17 2024] --- langpacks.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/langpacks.spec b/langpacks.spec index f17b399..e928161 100644 --- a/langpacks.spec +++ b/langpacks.spec @@ -1,6 +1,6 @@ Name: langpacks Version: 4.1 -Release: 2mamba +Release: 3mamba Summary: Langpacks meta-package Group: System/Internationalization Vendor: openmamba @@ -28,7 +28,7 @@ This package provides %{2} langpacks meta-package.\ %post %{1}\ if [ $1 -ge 1 ]; then\ l=`echo %{1}|cut -d_ -f1`\ - sed -i "s|^#\\(%{l}_.* UTF-8\\)|\\1|" /etc/locale.gen\ + sed -i "s|^#\\(${l}_.* UTF-8\\)|\\1|" /etc/locale.gen\ locale-gen\ fi\ :\ @@ -36,7 +36,7 @@ fi\ %postun %{1}\ if [ $1 -eq 0 ]; then\ l=`echo %{1}|cut -d_ -f1`\ - sed -i "s|^\\(%{l}_.* UTF-8\\)|#\\1|" /etc/locale.gen\ + sed -i "s|^\\(${l}_.* UTF-8\\)|#\\1|" /etc/locale.gen\ locale-gen\ fi\ :\ @@ -149,6 +149,9 @@ DESTDIR=%{buildroot} appstream-util split-appstream %{SOURCE0} [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %changelog +* Thu Oct 17 2024 Silvan Calarco 4.1-3mamba +- fix a mistake in locale.gen editing + * Wed Oct 16 2024 Silvan Calarco 4.1-2mamba - configure glibc locales for langpack language in post scripts