Hello community,

here is the log from the commit of package yast2-country for openSUSE:Factory 
checked in at 2016-11-23 13:36:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-country (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-country.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-country"

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-country/yast2-country.changes      
2016-11-08 18:26:33.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.yast2-country.new/yast2-country.changes 
2016-11-23 13:36:12.000000000 +0100
@@ -1,0 +2,6 @@
+Mon Nov 21 15:50:47 UTC 2016 - [email protected]
+
+- Set keyboard layout properly on installation system (bsc#1010938)
+- 3.2.1
+
+-------------------------------------------------------------------

Old:
----
  yast2-country-3.2.0.tar.bz2

New:
----
  yast2-country-3.2.1.tar.bz2

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

Other differences:
------------------
++++++ yast2-country.spec ++++++
--- /var/tmp/diff_new_pack.JD9dh9/_old  2016-11-23 13:36:13.000000000 +0100
+++ /var/tmp/diff_new_pack.JD9dh9/_new  2016-11-23 13:36:13.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-country
-Version:        3.2.0
+Version:        3.2.1
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build



++++++ yast2-country-3.2.0.tar.bz2 -> yast2-country-3.2.1.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-country-3.2.0/keyboard/src/modules/Keyboard.rb 
new/yast2-country-3.2.1/keyboard/src/modules/Keyboard.rb
--- old/yast2-country-3.2.0/keyboard/src/modules/Keyboard.rb    2016-11-03 
13:02:59.000000000 +0100
+++ new/yast2-country-3.2.1/keyboard/src/modules/Keyboard.rb    2016-11-21 
17:48:22.000000000 +0100
@@ -556,8 +556,9 @@
         return false # Error
       end
 
-      # Console command...
-      @ckb_cmd = Ops.add("/bin/loadkeys ", @keymap)
+      # Console command. It specifies all tty devices (bsc#1010938)
+      @tty_devices ||= Dir["/dev/tty*"].map { |d| "-C #{d}" }.join(" ")
+      @ckb_cmd = "/bin/loadkeys #{@tty_devices} #{keymap}"
 
       # X11 command...
       # do not try to run this with remote X display
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-country-3.2.0/keyboard/test/keyboard_test.rb 
new/yast2-country-3.2.1/keyboard/test/keyboard_test.rb
--- old/yast2-country-3.2.0/keyboard/test/keyboard_test.rb      2016-11-03 
13:02:59.000000000 +0100
+++ new/yast2-country-3.2.1/keyboard/test/keyboard_test.rb      2016-11-21 
17:48:22.000000000 +0100
@@ -120,7 +120,7 @@
       let(:chroot) { "spanish" }
 
       it "correctly sets all layout variables" do
-        expect(SCR).to execute_bash(/loadkeys ruwin_alt-UTF-8\.map\.gz/)
+        expect(SCR).to execute_bash(/loadkeys -C \/dev\/tty.+ 
ruwin_alt-UTF-8\.map\.gz/)
 
         Keyboard.Set("russian")
         expect(Keyboard.current_kbd).to eq("russian")
@@ -132,7 +132,7 @@
         stub_presence_of "/usr/sbin/xkbctrl"
         allow(XVersion).to receive(:binPath).and_return "/usr/bin"
 
-        expect(SCR).to execute_bash(/loadkeys tr\.map\.gz/)
+        expect(SCR).to execute_bash(/loadkeys -C \/dev\/tty.+ tr\.map\.gz/)
         # Called twice, for SetConsole and SetX11
         expect(SCR).to execute_bash(/xkbctrl tr\.map\.gz/).twice do |p, cmd|
           dump_xkbctrl(:turkish, cmd.split("> ")[1])
@@ -143,7 +143,7 @@
       end
 
       it "does not call setxkbmap if graphical system is not installed" do
-        expect(SCR).to execute_bash(/loadkeys ruwin_alt-UTF-8\.map\.gz/)
+        expect(SCR).to execute_bash(/loadkeys -C \/dev\/tty.+ 
ruwin_alt-UTF-8\.map\.gz/)
         expect(SCR).to execute_bash(/xkbctrl ruwin_alt-UTF-8.map.gz/).never
         expect(SCR).to execute_bash(/setxkbmap/).never
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-country-3.2.0/package/yast2-country.changes 
new/yast2-country-3.2.1/package/yast2-country.changes
--- old/yast2-country-3.2.0/package/yast2-country.changes       2016-11-03 
13:02:59.000000000 +0100
+++ new/yast2-country-3.2.1/package/yast2-country.changes       2016-11-21 
17:48:22.000000000 +0100
@@ -1,4 +1,10 @@
 -------------------------------------------------------------------
+Mon Nov 21 15:50:47 UTC 2016 - [email protected]
+
+- Set keyboard layout properly on installation system (bsc#1010938)
+- 3.2.1
+
+-------------------------------------------------------------------
 Thu Nov  3 11:43:42 UTC 2016 - [email protected]
 
 - language add-on no longer exists, so suggest to enable online
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-country-3.2.0/package/yast2-country.spec 
new/yast2-country-3.2.1/package/yast2-country.spec
--- old/yast2-country-3.2.0/package/yast2-country.spec  2016-11-03 
13:02:59.000000000 +0100
+++ new/yast2-country-3.2.1/package/yast2-country.spec  2016-11-21 
17:48:22.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-country
-Version:        3.2.0
+Version:        3.2.1
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build


Reply via email to