Hello community,

here is the log from the commit of package yast2-iscsi-client for 
openSUSE:Factory checked in at 2018-09-04 22:50:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-iscsi-client (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-iscsi-client.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-iscsi-client"

Tue Sep  4 22:50:26 2018 rev:118 rq:631117 version:4.1.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-iscsi-client/yast2-iscsi-client.changes    
2018-08-13 10:29:16.423073393 +0200
+++ 
/work/SRC/openSUSE:Factory/.yast2-iscsi-client.new/yast2-iscsi-client.changes   
    2018-09-04 22:50:28.691831352 +0200
@@ -1,0 +2,6 @@
+Thu Aug 16 14:50:34 UTC 2018 - [email protected]
+
+- Update calls to YaST2 services classes (related to fate#319428)
+- 4.1.1
+
+-------------------------------------------------------------------

Old:
----
  yast2-iscsi-client-4.1.0.tar.bz2

New:
----
  yast2-iscsi-client-4.1.1.tar.bz2

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

Other differences:
------------------
++++++ yast2-iscsi-client.spec ++++++
--- /var/tmp/diff_new_pack.Vx0uRs/_old  2018-09-04 22:50:29.159832959 +0200
+++ /var/tmp/diff_new_pack.Vx0uRs/_new  2018-09-04 22:50:29.163832973 +0200
@@ -17,25 +17,25 @@
 
 
 Name:           yast2-iscsi-client
-Version:        4.1.0
+Version:        4.1.1
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Source0:        %{name}-%{version}.tar.bz2
 
-# Yast2::SystemService
+# Yast2::Systemd::Socket
 BuildRequires:  docbook-xsl-stylesheets
 BuildRequires:  libxslt
 BuildRequires:  update-desktop-files
 BuildRequires:  yast2 >= 2.23.15
-BuildRequires:  yast2 >= 4.1.0
+BuildRequires:  yast2 >= 4.1.3
 BuildRequires:  yast2-devtools >= 3.1.10
 BuildRequires:  rubygem(rspec)
 
 Requires:       yast2-packager
 
-# Yast2::SystemService
-Requires:       yast2 >= 4.1.0
+# Yast2::Systemd::Socket
+Requires:       yast2 >= 4.1.3
 
 BuildArch:      noarch
 

++++++ yast2-iscsi-client-4.1.0.tar.bz2 -> yast2-iscsi-client-4.1.1.tar.bz2 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-iscsi-client-4.1.0/package/yast2-iscsi-client.changes 
new/yast2-iscsi-client-4.1.1/package/yast2-iscsi-client.changes
--- old/yast2-iscsi-client-4.1.0/package/yast2-iscsi-client.changes     
2018-08-10 16:21:31.000000000 +0200
+++ new/yast2-iscsi-client-4.1.1/package/yast2-iscsi-client.changes     
2018-08-23 15:45:23.000000000 +0200
@@ -1,4 +1,10 @@
 -------------------------------------------------------------------
+Thu Aug 16 14:50:34 UTC 2018 - [email protected]
+
+- Update calls to YaST2 services classes (related to fate#319428)
+- 4.1.1
+
+-------------------------------------------------------------------
 Tue Aug  7 11:52:21 UTC 2018 - [email protected]
 
 - Use Yast2::ServiceWidget to manage the service status
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-iscsi-client-4.1.0/package/yast2-iscsi-client.spec 
new/yast2-iscsi-client-4.1.1/package/yast2-iscsi-client.spec
--- old/yast2-iscsi-client-4.1.0/package/yast2-iscsi-client.spec        
2018-08-10 16:21:31.000000000 +0200
+++ new/yast2-iscsi-client-4.1.1/package/yast2-iscsi-client.spec        
2018-08-23 15:45:23.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-iscsi-client
-Version:        4.1.0
+Version:        4.1.1
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -25,8 +25,9 @@
 
 Group:         System/YaST
 License:        GPL-2.0
-# Yast2::SystemService
-BuildRequires: yast2 >= 4.1.0
+
+# Yast2::Systemd::Socket
+BuildRequires: yast2 >= 4.1.3
 BuildRequires: yast2 >= 2.23.15
 BuildRequires: docbook-xsl-stylesheets libxslt update-desktop-files
 BuildRequires:  yast2-devtools >= 3.1.10
@@ -34,8 +35,8 @@
 
 Requires:      yast2-packager
 
-# Yast2::SystemService
-Requires:          yast2 >= 4.1.0
+# Yast2::Systemd::Socket
+Requires:          yast2 >= 4.1.3
 
 BuildArchitectures:    noarch
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-iscsi-client-4.1.0/src/clients/iscsi-client_finish.rb 
new/yast2-iscsi-client-4.1.1/src/clients/iscsi-client_finish.rb
--- old/yast2-iscsi-client-4.1.0/src/clients/iscsi-client_finish.rb     
2018-08-10 16:21:31.000000000 +0200
+++ new/yast2-iscsi-client-4.1.1/src/clients/iscsi-client_finish.rb     
2018-08-23 15:45:23.000000000 +0200
@@ -30,6 +30,8 @@
 # Authors:
 #  Michal Zugec <[email protected]>
 #
+require "yast2/systemd/socket"
+
 module Yast
   class IscsiClientFinishClient < Client
     def main
@@ -41,7 +43,6 @@
       Yast.import "String"
       Yast.import "IscsiClientLib"
       Yast.import "Service"
-      Yast.import "SystemdSocket"
       Yast.include self, "installation/misc.rb"
 
       @ret = nil
@@ -89,13 +90,13 @@
         )
         if Ops.greater_than(Builtins.size(IscsiClientLib.sessions), 0)
           Builtins.y2milestone("enabling iscsi and iscsid service/socket")
-          socket = SystemdSocket.find("iscsid")
+          socket = Yast2::Systemd::Socket.find("iscsid")
           socket.enable if socket
           # enable iscsi and iscsid service
           Service.Enable("iscsid")
           Service.Enable("iscsi")
           Builtins.y2milestone("enabling iscsiuio socket and service")
-          socket = SystemdSocket.find("iscsiuio")
+          socket = Yast2::Systemd::Socket.find("iscsiuio")
           socket.enable if socket
           Service.Enable("iscsiuio")
         end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-iscsi-client-4.1.0/src/modules/IscsiClientLib.rb 
new/yast2-iscsi-client-4.1.1/src/modules/IscsiClientLib.rb
--- old/yast2-iscsi-client-4.1.0/src/modules/IscsiClientLib.rb  2018-08-10 
16:21:31.000000000 +0200
+++ new/yast2-iscsi-client-4.1.1/src/modules/IscsiClientLib.rb  2018-08-23 
15:45:23.000000000 +0200
@@ -22,7 +22,8 @@
 # |
 # |***************************************************************************
 require "yast"
-require 'ipaddr'
+require "yast2/systemd/socket"
+require "ipaddr"
 
 module Yast
   class IscsiClientLibClass < Module
@@ -40,7 +41,6 @@
       Yast.import "Mode"
       Yast.import "String"
       Yast.import "Arch"
-      Yast.import "SystemdSocket"
 
       @sessions = []
       @discovered = []
@@ -1091,8 +1091,8 @@
       else
         # find sockets (only in installed system)
         # throw exception if socket not found
-        @iscsid_socket = SystemdSocket.find!("iscsid")
-        @iscsiuio_socket = SystemdSocket.find!("iscsiuio")
+        @iscsid_socket = Yast2::Systemd::Socket.find!("iscsid")
+        @iscsiuio_socket = Yast2::Systemd::Socket.find!("iscsiuio")
 
         @iscsi_service_stat = Service.active?("iscsi")
         @iscsid_socket_stat = socketActive?(@iscsid_socket)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-iscsi-client-4.1.0/test/iscsi_client_lib_test.rb 
new/yast2-iscsi-client-4.1.1/test/iscsi_client_lib_test.rb
--- old/yast2-iscsi-client-4.1.0/test/iscsi_client_lib_test.rb  2018-08-10 
16:21:31.000000000 +0200
+++ new/yast2-iscsi-client-4.1.1/test/iscsi_client_lib_test.rb  2018-08-23 
15:45:23.000000000 +0200
@@ -10,7 +10,7 @@
     before do
       allow(Yast::Service).to receive(:Stop).with(anything)
       allow(Yast::Service).to receive(:active?).with(anything)
-      allow(Yast::SystemdSocket).to receive(:find!).with(anything)
+      allow(Yast2::Systemd::Socket).to receive(:find!).with(anything)
       allow(subject).to receive(:socketActive?)
       allow(subject.log).to receive(:error)
     end
@@ -19,7 +19,7 @@
       let(:iscsid_socket) { double("iscsid.socket", start: true) }
 
       before do
-        allow(Yast::SystemdSocket).to 
receive(:find!).with("iscsid").and_return(iscsid_socket)
+        allow(Yast2::Systemd::Socket).to 
receive(:find!).with("iscsid").and_return(iscsid_socket)
         allow(subject).to 
receive(:socketActive?).with(iscsid_socket).and_return(socket_status)
       end
 


Reply via email to