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