post: fix typo in /etc/rpm/macros.lang introduced in past livedvd installations [release 2.5-2mamba;Wed Mar 20 2024]

This commit is contained in:
Silvan Calarco 2024-03-21 09:36:02 +01:00
parent e47eaedd18
commit 076be47fe0

View File

@ -2,14 +2,14 @@
Name: initscripts
Version: 2.5
Release: 1mamba
Release: 2mamba
Summary: Common tools used by initscripts-sysv5 and systemd in sysv5 mode
Group: System/Configuration
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://openmamba.org/en/
Source: https://gitlab.mambasoft.it/openmamba/initscripts.git/v%{version}/initscripts-%{version}.tar.bz2
URL: https://src.openmamba.org/openmamba/initscripts
Source: https://src.openmamba.org/openmamba/initscripts.git/v%{version}/initscripts-%{version}.tar.bz2
Patch0: %{name}-1.3.33-initlog_deprecated_warning.patch
Patch1: initscripts-1.6.11-gcc-4.7.patch
License: GPL
@ -100,6 +100,11 @@ _EOF
_EOF
}
# fix typo in /etc/rpm/macros.lang introduced in past livedvd installations
[ -e %{_sysconfdir}/rpm/macros.lang ] && \
grep -q "%%install_langs " %{_sysconfdir}/rpm/macros.lang && \
sed -i "s|%%install_langs |%%_install_langs |" %{_sysconfdir}/rpm/macros.lang
[ -e /etc/vconsole.conf ] || {
. /etc/sysconfig/keyboard
. /etc/sysconfig/console
@ -178,6 +183,9 @@ fi
%doc COPYING
%changelog
* Wed Mar 20 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2.5-2mamba
- post: fix typo in /etc/rpm/macros.lang introduced in past livedvd installations
* Sat Jan 08 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.5-1mamba
- update to 2.5