Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package yast2-network for openSUSE:Factory 
checked in at 2021-08-02 12:04:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-network (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-network.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-network"

Mon Aug  2 12:04:30 2021 rev:460 rq:909331 version:4.4.22

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-network/yast2-network.changes      
2021-07-22 22:43:13.571210303 +0200
+++ /work/SRC/openSUSE:Factory/.yast2-network.new.1899/yast2-network.changes    
2021-08-02 12:04:39.909661198 +0200
@@ -1,0 +2,6 @@
+Fri Jul 30 08:07:09 UTC 2021 - Knut Anderssen <kanders...@suse.com>
+
+- Fix write of device routes. (bsc#1188908)
+- 4.4.22
+
+-------------------------------------------------------------------

Old:
----
  yast2-network-4.4.21.tar.bz2

New:
----
  yast2-network-4.4.22.tar.bz2

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

Other differences:
------------------
++++++ yast2-network.spec ++++++
--- /var/tmp/diff_new_pack.IDmnij/_old  2021-08-02 12:04:40.581661055 +0200
+++ /var/tmp/diff_new_pack.IDmnij/_new  2021-08-02 12:04:40.581661055 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-network
-Version:        4.4.21
+Version:        4.4.22
 Release:        0
 Summary:        YaST2 - Network Configuration
 License:        GPL-2.0-only

++++++ yast2-network-4.4.21.tar.bz2 -> yast2-network-4.4.22.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-network-4.4.21/package/yast2-network.changes 
new/yast2-network-4.4.22/package/yast2-network.changes
--- old/yast2-network-4.4.21/package/yast2-network.changes      2021-07-20 
17:55:51.000000000 +0200
+++ new/yast2-network-4.4.22/package/yast2-network.changes      2021-07-30 
09:45:46.000000000 +0200
@@ -1,4 +1,10 @@
 -------------------------------------------------------------------
+Fri Jul 30 08:07:09 UTC 2021 - Knut Anderssen <kanders...@suse.com>
+
+- Fix write of device routes. (bsc#1188908)
+- 4.4.22
+
+-------------------------------------------------------------------
 Tue Jul 20 08:47:30 UTC 2021 - Knut Anderssen <kanders...@suse.com>
 
 - Do not crash when the aliases defined in the AutoYaST profile
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-network-4.4.21/package/yast2-network.spec 
new/yast2-network-4.4.22/package/yast2-network.spec
--- old/yast2-network-4.4.21/package/yast2-network.spec 2021-07-20 
17:55:51.000000000 +0200
+++ new/yast2-network-4.4.22/package/yast2-network.spec 2021-07-30 
09:45:46.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-network
-Version:        4.4.21
+Version:        4.4.22
 Release:        0
 Summary:        YaST2 - Network Configuration
 License:        GPL-2.0-only
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-network-4.4.21/src/include/network/routines.rb 
new/yast2-network-4.4.22/src/include/network/routines.rb
--- old/yast2-network-4.4.21/src/include/network/routines.rb    2021-07-20 
17:55:51.000000000 +0200
+++ new/yast2-network-4.4.22/src/include/network/routines.rb    2021-07-30 
09:45:46.000000000 +0200
@@ -159,27 +159,6 @@
       TypeRepository.IsEmpty(value)
     end
 
-    # For s390 hwinfo gives us a multitude of types but some are handled
-    # the same, mostly acording to the driver which is used. So let's group
-    # them under the name Driver Type.
-    # @param [String] type a type, as in Lan::type
-    # @return driver type, like formerly type2 for s390
-    def DriverType(type)
-      drvtype = type
-      # handle HSI like qeth, S#40692#c15
-      case type
-      when "hsi"
-        drvtype = "qeth"
-      # Should eth occur on s390?
-      when "tr", "eth"
-        drvtype = "lcs"
-      # N#82891
-      when "escon", "ficon"
-        drvtype = "ctc"
-      end
-      drvtype
-    end
-
     def DistinguishedName(name, hwdevice)
       hwdevice = deep_copy(hwdevice)
       if Ops.get_string(hwdevice, "sysfs_bus_id", "") != ""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-network-4.4.21/src/include/network/services/dns.rb 
new/yast2-network-4.4.22/src/include/network/services/dns.rb
--- old/yast2-network-4.4.21/src/include/network/services/dns.rb        
2021-07-20 17:55:51.000000000 +0200
+++ new/yast2-network-4.4.22/src/include/network/services/dns.rb        
2021-07-30 09:45:46.000000000 +0200
@@ -645,10 +645,6 @@
       nil
     end
 
-    def ReallyAbortInst
-      Popup.ConfirmAbort(:incomplete)
-    end
-
     # Standalone dialog only - embedded one is handled separately
     # via CWMTab
     def DNSMainDialog(_standalone)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-network-4.4.21/src/lib/network/network_autoyast.rb 
new/yast2-network-4.4.22/src/lib/network/network_autoyast.rb
--- old/yast2-network-4.4.21/src/lib/network/network_autoyast.rb        
2021-07-20 17:55:51.000000000 +0200
+++ new/yast2-network-4.4.22/src/lib/network/network_autoyast.rb        
2021-07-30 09:45:46.000000000 +0200
@@ -41,12 +41,8 @@
 
     def initialize
       # import has to be done here, there are some collisions otherwise
-      Yast.import "Arch"
       Yast.import "Lan"
-      Yast.import "Linuxrc"
       Yast.import "Host"
-      Yast.import "AutoInstall"
-      Yast.import "Stage"
     end
 
     # Merges existing config from system into given configuration map
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-network-4.4.21/src/lib/y2network/interface.rb 
new/yast2-network-4.4.22/src/lib/y2network/interface.rb
--- old/yast2-network-4.4.21/src/lib/y2network/interface.rb     2021-07-20 
17:55:51.000000000 +0200
+++ new/yast2-network-4.4.22/src/lib/y2network/interface.rb     2021-07-30 
09:45:46.000000000 +0200
@@ -20,7 +20,6 @@
 require "yast"
 require "y2network/interface_type"
 require "y2network/udev_rule"
-require "yast2/equatable"
 
 module Y2Network
   # Network interface.
@@ -38,7 +37,6 @@
   class Interface
     extend Forwardable
     include Yast::Logger
-    include Yast2::Equatable
 
     # @return [String] Device name ('eth0', 'wlan0', etc.)
     attr_accessor :name
@@ -83,7 +81,27 @@
       @renaming_mechanism = :none
     end
 
-    eql_attr :name
+    # Determines whether two interfaces are equal
+    #
+    # @note although it is preferable to use Yast2::Equatable it uses the class
+    #   hash for comparing objects and it will fail when comparing with
+    #   subclasses objects (bsc#1188908)
+    # @param other [Interface] Interface to compare with
+    # @return [Boolean]
+    def ==(other)
+      return false unless other.is_a?(Interface)
+
+      name == other.name
+    end
+
+    # eql? (hash key equality) should alias ==, see also
+    # https://ruby-doc.org/core-2.3.3/Object.html#method-i-eql-3F
+    alias_method :eql?, :==
+
+    # Used by Array or Hash in order to compare equality of elements 
(bsc#1186082)
+    def hash
+      name.hash
+    end
 
     # Complete configuration of the interface
     #
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-network-4.4.21/src/modules/Lan.rb 
new/yast2-network-4.4.22/src/modules/Lan.rb
--- old/yast2-network-4.4.21/src/modules/Lan.rb 2021-07-20 17:55:51.000000000 
+0200
+++ new/yast2-network-4.4.22/src/modules/Lan.rb 2021-07-30 09:45:46.000000000 
+0200
@@ -692,6 +692,7 @@
     #
     # @note parsing dhcp ntp servers when NetworkManager is in use is not
     #   supported yet (bsc#798886)
+    # @note called from installer
     #
     # @return [Array<String>] list of ntp servers obtained byg DHCP
     def dhcp_ntp_servers
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-network-4.4.21/test/y2network/route_test.rb 
new/yast2-network-4.4.22/test/y2network/route_test.rb
--- old/yast2-network-4.4.21/test/y2network/route_test.rb       2021-07-20 
17:55:51.000000000 +0200
+++ new/yast2-network-4.4.22/test/y2network/route_test.rb       2021-07-30 
09:45:46.000000000 +0200
@@ -48,7 +48,7 @@
 
   describe "==" do
     let(:other_to) { IPAddr.new("192.168.122.0/24") }
-    let(:other_interface) { Y2Network::Interface.new("eth0") }
+    let(:other_interface) { Y2Network::PhysicalInterface.new("eth0") }
     let(:other_gateway) { nil }
     let(:other_options) { "" }
 

Reply via email to