Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package live-langset-data for 
openSUSE:Factory checked in at 2022-11-16 15:42:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/live-langset-data (Old)
 and      /work/SRC/openSUSE:Factory/.live-langset-data.new.1597 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "live-langset-data"

Wed Nov 16 15:42:38 2022 rev:18 rq:1035815 version:2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/live-langset-data/live-langset-data.changes      
2022-09-27 20:13:25.305759671 +0200
+++ 
/work/SRC/openSUSE:Factory/.live-langset-data.new.1597/live-langset-data.changes
    2022-11-16 15:42:51.119720490 +0100
@@ -1,0 +2,6 @@
+Tue Nov 15 10:57:55 UTC 2022 - Fabian Vogt <fv...@suse.com>
+
+- Drop support for /etc/sysconfig/language (12.x), it was activated
+  in staging projects by accident ("Tumbleweed 1")
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ live-langset-data.spec ++++++
--- /var/tmp/diff_new_pack.l3jxZq/_old  2022-11-16 15:42:51.559722086 +0100
+++ /var/tmp/diff_new_pack.l3jxZq/_new  2022-11-16 15:42:51.563722100 +0100
@@ -32,6 +32,10 @@
 BuildRequires:  yast2-country
 # Needed for X11 keyboard data
 BuildRequires:  yast2-x11
+# Support for /etc/sysconfig/language was dropped
+%if 0%{?suse_version} < 1500
+BuildRequires:  newer-distro
+%endif
 Requires:       sed
 Requires:       systemd
 BuildArch:      noarch

++++++ langset.sh ++++++
--- /var/tmp/diff_new_pack.l3jxZq/_old  2022-11-16 15:42:51.627722332 +0100
+++ /var/tmp/diff_new_pack.l3jxZq/_new  2022-11-16 15:42:51.627722332 +0100
@@ -60,7 +60,6 @@
 
 # set_sysconfig_option KEY value
 set_sysconfig_option() {
-       sed -i -e "s#$1=\".*#$1=\"$2\"#" /etc/sysconfig/language
        sed -i -e "s#$1=\".*#$1=\"$2\"#" /etc/sysconfig/keyboard
        sed -i -e "s#$1=\".*#$1=\"$2\"#" /etc/sysconfig/console
 }
@@ -70,15 +69,6 @@
 [ -z "$CONSOLE_SCREENMAP" ] || set_sysconfig_option CONSOLE_SCREENMAP 
"$CONSOLE_SCREENMAP"
 [ -z "$CONSOLE_UNICODEMAP" ] || set_sysconfig_option CONSOLE_UNICODEMAP 
"$CONSOLE_UNICODEMAP"
 
-# 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"
 

Reply via email to