Hello community, here is the log from the commit of package live-langset-data for openSUSE:Factory checked in at 2019-01-08 12:29:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/live-langset-data (Old) and /work/SRC/openSUSE:Factory/.live-langset-data.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "live-langset-data" Tue Jan 8 12:29:36 2019 rev:12 rq:663394 version:2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/live-langset-data/live-langset-data.changes 2018-11-09 07:55:31.683635028 +0100 +++ /work/SRC/openSUSE:Factory/.live-langset-data.new.28833/live-langset-data.changes 2019-01-08 12:31:36.548067537 +0100 @@ -1,0 +2,5 @@ +Mon Jan 7 16:19:54 UTC 2019 - Fabian Vogt <[email protected]> + +- Only set RC_LANG and RC_LC_MESSAGES on SLE 12 (bsc#1119420) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ live-langset-data.spec ++++++ --- /var/tmp/diff_new_pack.KMqTjO/_old 2019-01-08 12:31:37.076066963 +0100 +++ /var/tmp/diff_new_pack.KMqTjO/_new 2019-01-08 12:31:37.080066959 +0100 @@ -1,7 +1,7 @@ # # spec file for package live-langset-data # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed ++++++ langset.sh ++++++ --- /var/tmp/diff_new_pack.KMqTjO/_old 2019-01-08 12:31:37.140066893 +0100 +++ /var/tmp/diff_new_pack.KMqTjO/_new 2019-01-08 12:31:37.144066889 +0100 @@ -64,8 +64,16 @@ [ -z "$CONSOLE_FONT" ] || set_sysconfig_option CONSOLE_FONT "$CONSOLE_FONT" [ -z "$CONSOLE_SCREENMAP" ] || set_sysconfig_option CONSOLE_SCREENMAP "$CONSOLE_SCREENMAP" [ -z "$CONSOLE_UNICODEMAP" ] || set_sysconfig_option CONSOLE_UNICODEMAP "$CONSOLE_UNICODEMAP" -[ -z "$RC_LANG" ] || set_sysconfig_option RC_LANG "$RC_LANG" -[ -z "$RC_LC_MESSAGES" ] || set_sysconfig_option RC_LC_MESSAGES "$RC_LC_MESSAGES" + +# If those are set, locale.conf is ignored - so only set them if necessary (i.e. <= 12 base) +# bsc#1119420 +[ -f /usr/lib/os-release ] && . /usr/lib/os-release +[ -f /etc/os-release ] && . /etc/os-release +if [ -n "$VERSION_ID" ] && [ "${VERSION_ID%%.*}" -le 12 ]; then + [ -z "$RC_LANG" ] || set_sysconfig_option RC_LANG "$RC_LANG" + [ -z "$RC_LC_MESSAGES" ] || set_sysconfig_option RC_LC_MESSAGES "$RC_LC_MESSAGES" +fi + [ -z "$KEYTABLE" ] || set_sysconfig_option KEYTABLE "$KEYTABLE" [ -z "$COMPOSETABLE" ] || set_sysconfig_option COMPOSETABLE "$COMPOSETABLE"
