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 2022-01-27 23:16:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-network (Old) and /work/SRC/openSUSE:Factory/.yast2-network.new.1898 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-network" Thu Jan 27 23:16:41 2022 rev:469 rq:949184 version:4.4.34 Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-network/yast2-network.changes 2022-01-25 17:36:47.666035024 +0100 +++ /work/SRC/openSUSE:Factory/.yast2-network.new.1898/yast2-network.changes 2022-01-27 23:17:13.198873258 +0100 @@ -1,0 +2,6 @@ +Tue Jan 25 15:38:09 UTC 2022 - Imobach Gonzalez Sosa <igonzalezs...@suse.com> + +- Use Package module instead of PackageSystem (bsc#1194886). +- 4.4.34 + +------------------------------------------------------------------- Old: ---- yast2-network-4.4.33.tar.bz2 New: ---- yast2-network-4.4.34.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-network.spec ++++++ --- /var/tmp/diff_new_pack.xwbswc/_old 2022-01-27 23:17:13.982867840 +0100 +++ /var/tmp/diff_new_pack.xwbswc/_new 2022-01-27 23:17:13.986867814 +0100 @@ -17,7 +17,7 @@ Name: yast2-network -Version: 4.4.33 +Version: 4.4.34 Release: 0 Summary: YaST2 - Network Configuration License: GPL-2.0-only @@ -33,8 +33,8 @@ #for install task BuildRequires: yast2-storage-ng BuildRequires: rubygem(%rb_default_ruby_abi:yast-rake) -# Updated API for Y2Issues -BuildRequires: yast2 >= 4.4.14 +# Replace PackageSystem with Package +BuildRequires: yast2 >= 4.4.38 BuildRequires: yast2-packager >= 4.0.18 # Product control need xml agent @@ -51,8 +51,8 @@ Requires: sysconfig >= 0.80.0 Requires: yast2-proxy Requires: yast2-storage-ng -# Updated API for Y2Issues -Requires: yast2 >= 4.4.14 +# Replace PackageSystem with Package +Requires: yast2 >= 4.4.38 # Packages::vnc_packages Requires: augeas-lenses Requires: yast2-packager >= 4.0.18 ++++++ yast2-network-4.4.33.tar.bz2 -> yast2-network-4.4.34.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-network-4.4.33/package/yast2-network.changes new/yast2-network-4.4.34/package/yast2-network.changes --- old/yast2-network-4.4.33/package/yast2-network.changes 2022-01-21 15:26:17.000000000 +0100 +++ new/yast2-network-4.4.34/package/yast2-network.changes 2022-01-26 08:45:11.000000000 +0100 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Tue Jan 25 15:38:09 UTC 2022 - Imobach Gonzalez Sosa <igonzalezs...@suse.com> + +- Use Package module instead of PackageSystem (bsc#1194886). +- 4.4.34 + +------------------------------------------------------------------- Fri Jan 21 12:35:43 UTC 2022 - Ladislav Slez??k <lsle...@suse.cz> - Unify YaST module mocking in unit tests (related to bsc#1194784) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-network-4.4.33/package/yast2-network.spec new/yast2-network-4.4.34/package/yast2-network.spec --- old/yast2-network-4.4.33/package/yast2-network.spec 2022-01-21 15:26:17.000000000 +0100 +++ new/yast2-network-4.4.34/package/yast2-network.spec 2022-01-26 08:45:11.000000000 +0100 @@ -17,7 +17,7 @@ Name: yast2-network -Version: 4.4.33 +Version: 4.4.34 Release: 0 Summary: YaST2 - Network Configuration License: GPL-2.0-only @@ -33,8 +33,8 @@ #for install task BuildRequires: rubygem(%rb_default_ruby_abi:yast-rake) BuildRequires: yast2-storage-ng -# Updated API for Y2Issues -BuildRequires: yast2 >= 4.4.14 +# Replace PackageSystem with Package +BuildRequires: yast2 >= 4.4.38 BuildRequires: yast2-packager >= 4.0.18 # Product control need xml agent @@ -51,8 +51,8 @@ Requires: sysconfig >= 0.80.0 Requires: yast2-proxy Requires: yast2-storage-ng -# Updated API for Y2Issues -Requires: yast2 >= 4.4.14 +# Replace PackageSystem with Package +Requires: yast2 >= 4.4.38 # Packages::vnc_packages Requires: yast2-packager >= 4.0.18 Requires: rubygem(%rb_default_ruby_abi:cfa) >= 0.6.4 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-network-4.4.33/src/lib/network/network_autoconfiguration.rb new/yast2-network-4.4.34/src/lib/network/network_autoconfiguration.rb --- old/yast2-network-4.4.33/src/lib/network/network_autoconfiguration.rb 2022-01-21 15:26:17.000000000 +0100 +++ new/yast2-network-4.4.34/src/lib/network/network_autoconfiguration.rb 2022-01-26 08:45:11.000000000 +0100 @@ -104,9 +104,9 @@ # S390 has special requirements. See bnc#817943 return false if Arch.s390 - return true if PackageSystem.Installed("xen") && Arch.is_xen0 - return true if PackageSystem.Installed("kvm") - return true if PackageSystem.Installed("qemu") + return true if Package.Installed("xen") && Arch.is_xen0 + return true if Package.Installed("kvm") + return true if Package.Installed("qemu") false end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-network-4.4.33/src/modules/Lan.rb new/yast2-network-4.4.34/src/modules/Lan.rb --- old/yast2-network-4.4.33/src/modules/Lan.rb 2022-01-21 15:26:17.000000000 +0100 +++ new/yast2-network-4.4.34/src/modules/Lan.rb 2022-01-26 08:45:11.000000000 +0100 @@ -67,7 +67,7 @@ Yast.import "Progress" Yast.import "String" Yast.import "FileUtils" - Yast.import "PackageSystem" + Yast.import "Package" Yast.import "ModuleLoading" Yast.import "Linuxrc" @@ -217,7 +217,7 @@ ProgressNextStage(_("Detecting ndiswrapper...")) if @gui # modprobe ndiswrapper before hwinfo when needed (#343893) - if !Mode.autoinst && PackageSystem.Installed("ndiswrapper") + if !Mode.autoinst && Package.Installed("ndiswrapper") Builtins.y2milestone("ndiswrapper: installed") if Ops.greater_than( Builtins.size( @@ -655,8 +655,8 @@ pkgs = [] if yast_config&.backend?(:network_manager) - pkgs << "NetworkManager" if !PackageSystem.Installed("NetworkManager") - elsif !PackageSystem.Installed("wpa_supplicant") + pkgs << "NetworkManager" if !Package.Installed("NetworkManager") + elsif !Package.Installed("wpa_supplicant") # we have to add wpa_supplicant when wlan is in game, wicked relies on it wlan_present = yast_config.interfaces.any? do |iface| iface.type == Y2Network::InterfaceType::WIRELESS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-network-4.4.33/test/lan_test.rb new/yast2-network-4.4.34/test/lan_test.rb --- old/yast2-network-4.4.33/test/lan_test.rb 2022-01-21 15:26:17.000000000 +0100 +++ new/yast2-network-4.4.34/test/lan_test.rb 2022-01-26 08:45:11.000000000 +0100 @@ -52,7 +52,7 @@ let(:config) { double(interfaces: interfaces, backend: backend) } before(:each) do - allow(Yast::PackageSystem) + allow(Yast::Package) .to receive(:Installed) .with("wpa_supplicant") .at_least(:once) @@ -71,7 +71,7 @@ end it "always proposes wpa_supplicant" do - allow(Yast::PackageSystem) + allow(Yast::Package) .to receive(:Installed) .with("wpa_supplicant") .and_return(false) @@ -85,7 +85,7 @@ it "lists NetworkManager package" do expect(yast_config).to receive(:backend?).with(:network_manager).and_call_original - expect(Yast::PackageSystem) + expect(Yast::Package) .to receive(:Installed) .with("NetworkManager") .at_least(:once) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-network-4.4.33/test/network_autoconfiguration_test.rb new/yast2-network-4.4.34/test/network_autoconfiguration_test.rb --- old/yast2-network-4.4.33/test/network_autoconfiguration_test.rb 2022-01-21 15:26:17.000000000 +0100 +++ new/yast2-network-4.4.34/test/network_autoconfiguration_test.rb 2022-01-26 08:45:11.000000000 +0100 @@ -166,9 +166,9 @@ before do allow(Yast::Arch).to receive(:s390).and_return(is_s390) - allow(Yast::PackageSystem).to receive(:Installed).and_return(false) + allow(Yast::Package).to receive(:Installed).and_return(false) installed.map do |package| - allow(Yast::PackageSystem).to receive(:Installed).with(package).and_return(true) + allow(Yast::Package).to receive(:Installed).with(package).and_return(true) end end @@ -286,7 +286,7 @@ allow(Yast::Lan).to receive(:write_config) allow_any_instance_of(Y2Network::VirtualizationConfig) .to receive(:connected_and_bridgeable?).and_return(true) - allow(Yast::PackageSystem).to receive(:Installed).and_return(true) + allow(Yast::Package).to receive(:Installed).and_return(true) Yast::Lan.Import( "routing" => { "routes" => routes_profile } ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-network-4.4.33/test/save_network_test.rb new/yast2-network-4.4.34/test/save_network_test.rb --- old/yast2-network-4.4.33/test/save_network_test.rb 2022-01-21 15:26:17.000000000 +0100 +++ new/yast2-network-4.4.34/test/save_network_test.rb 2022-01-26 08:45:11.000000000 +0100 @@ -47,7 +47,7 @@ before do stub_const("Yast::SaveNetworkClient::ROOT_PATH", scr_root) allow(Yast::Installation).to receive(:destdir).and_return(destdir) - allow(Yast::PackageSystem).to receive(:Installed).and_return(false) + allow(Yast::Package).to receive(:Installed).and_return(false) FileUtils.mkdir_p(destdir_sysconfig) ["dhcp", "config"].each do |file|