Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package autoyast2 for openSUSE:Factory 
checked in at 2022-01-27 23:16:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/autoyast2 (Old)
 and      /work/SRC/openSUSE:Factory/.autoyast2.new.1898 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "autoyast2"

Thu Jan 27 23:16:40 2022 rev:315 rq:949169 version:4.4.28

Changes:
--------
--- /work/SRC/openSUSE:Factory/autoyast2/autoyast2.changes      2022-01-25 
17:36:55.081983948 +0100
+++ /work/SRC/openSUSE:Factory/.autoyast2.new.1898/autoyast2.changes    
2022-01-27 23:17:10.538891634 +0100
@@ -1,0 +2,6 @@
+Tue Jan 25 16:11:43 UTC 2022 - Imobach Gonzalez Sosa <igonzalezs...@suse.com>
+
+- Use Package module instead of PackageSystem (bsc#1194886).
+- 4.4.28
+
+-------------------------------------------------------------------

Old:
----
  autoyast2-4.4.27.tar.bz2

New:
----
  autoyast2-4.4.28.tar.bz2

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

Other differences:
------------------
++++++ autoyast2.spec ++++++
--- /var/tmp/diff_new_pack.AzNLWu/_old  2022-01-27 23:17:11.234886826 +0100
+++ /var/tmp/diff_new_pack.AzNLWu/_new  2022-01-27 23:17:11.238886798 +0100
@@ -22,7 +22,7 @@
 %endif
 
 Name:           autoyast2
-Version:        4.4.27
+Version:        4.4.28
 Release:        0
 Summary:        YaST2 - Automated Installation
 License:        GPL-2.0-only
@@ -41,8 +41,8 @@
 # xsltproc for AutoinstClass
 BuildRequires:  libxslt
 BuildRequires:  rubygem(%{rb_default_ruby_abi}:rspec)
-# PackageProposal API to taboo resolvables
-BuildRequires:  yast2 >= 4.4.37
+# Replace PackageSystem with Package
+BuildRequires:  yast2 >= 4.4.38
 # FileSystems.read_default_subvol_from_target
 BuildRequires:  yast2-services-manager
 BuildRequires:  yast2-transfer
@@ -67,8 +67,8 @@
 
 Requires:       autoyast2-installation = %{version}
 Requires:       libxslt
-# PackageProposal API to taboo resolvables
-Requires:       yast2 >= 4.4.37
+# Replace PackageSystem with Package
+Requires:       yast2 >= 4.4.38
 Requires:       yast2-core
 Requires:       yast2-country >= 3.1.13
 # Moving security module to first installation stage

++++++ autoyast2-4.4.27.tar.bz2 -> autoyast2-4.4.28.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoyast2-4.4.27/package/autoyast2.changes 
new/autoyast2-4.4.28/package/autoyast2.changes
--- old/autoyast2-4.4.27/package/autoyast2.changes      2022-01-24 
10:04:04.000000000 +0100
+++ new/autoyast2-4.4.28/package/autoyast2.changes      2022-01-26 
08:03:35.000000000 +0100
@@ -1,4 +1,10 @@
 -------------------------------------------------------------------
+Tue Jan 25 16:11:43 UTC 2022 - Imobach Gonzalez Sosa <igonzalezs...@suse.com>
+
+- Use Package module instead of PackageSystem (bsc#1194886).
+- 4.4.28
+
+-------------------------------------------------------------------
 Fri Jan 21 12:07:59 UTC 2022 - Imobach Gonzalez Sosa <igonzalezs...@suse.com>
 
 - Replace references to PackageAI module with proper calls to
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoyast2-4.4.27/package/autoyast2.spec 
new/autoyast2-4.4.28/package/autoyast2.spec
--- old/autoyast2-4.4.27/package/autoyast2.spec 2022-01-24 10:04:04.000000000 
+0100
+++ new/autoyast2-4.4.28/package/autoyast2.spec 2022-01-26 08:03:35.000000000 
+0100
@@ -22,7 +22,7 @@
 %endif
 
 Name:           autoyast2
-Version:        4.4.27
+Version:        4.4.28
 Release:        0
 Summary:        YaST2 - Automated Installation
 License:        GPL-2.0-only
@@ -41,8 +41,8 @@
 # xsltproc for AutoinstClass
 BuildRequires:  libxslt
 BuildRequires:  rubygem(%{rb_default_ruby_abi}:rspec)
-# PackageProposal API to taboo resolvables
-BuildRequires:  yast2 >= 4.4.37
+# Replace PackageSystem with Package
+BuildRequires:  yast2 >= 4.4.38
 # FileSystems.read_default_subvol_from_target
 BuildRequires:  yast2-xml
 BuildRequires:  yast2-transfer
@@ -67,8 +67,8 @@
 
 Requires:       autoyast2-installation = %{version}
 Requires:       libxslt
-# PackageProposal API to taboo resolvables
-Requires:       yast2 >= 4.4.37
+# Replace PackageSystem with Package
+Requires:       yast2 >= 4.4.38
 Requires:       yast2-core
 Requires:       yast2-country >= 3.1.13
 # Moving security module to first installation stage
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoyast2-4.4.27/src/clients/inst_autopost.rb 
new/autoyast2-4.4.28/src/clients/inst_autopost.rb
--- old/autoyast2-4.4.27/src/clients/inst_autopost.rb   2022-01-24 
10:04:04.000000000 +0100
+++ new/autoyast2-4.4.28/src/clients/inst_autopost.rb   2022-01-26 
08:03:35.000000000 +0100
@@ -24,7 +24,7 @@
       Yast.import "AutoinstScripts"
       Yast.import "Report"
       Yast.import "Progress"
-      Yast.import "PackageSystem"
+      Yast.import "Package"
       Yast.import "AutoinstConfig"
 
       Builtins.y2debug("Profile=%1", Profile.current)
@@ -97,7 +97,7 @@
       # Add all found packages
       Progress.NextStep
       Progress.Title(_("Adding found packages..."))
-      @packages = Builtins.filter(@packages) { |p| !PackageSystem.Installed(p) 
}
+      @packages = Builtins.filter(@packages) { |p| !Package.Installed(p) }
       AutoinstSoftware.addPostPackages(@packages)
 
       # Finish
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoyast2-4.4.27/src/include/autoinstall/dialogs.rb 
new/autoyast2-4.4.28/src/include/autoinstall/dialogs.rb
--- old/autoyast2-4.4.27/src/include/autoinstall/dialogs.rb     2022-01-24 
10:04:04.000000000 +0100
+++ new/autoyast2-4.4.28/src/include/autoinstall/dialogs.rb     2022-01-26 
08:03:35.000000000 +0100
@@ -16,7 +16,7 @@
       Yast.import "Wizard"
       Yast.import "AutoinstConfig"
       Yast.import "AutoinstClass"
-      Yast.import "PackageSystem"
+      Yast.import "Package"
       Yast.include include_target, "autoinstall/helps.rb"
     end
 
@@ -335,7 +335,7 @@
       end
 
       # jing validation -- validates complete xml profile
-      if PackageSystem.Installed("jing")
+      if Package.Installed("jing")
         complete_xml_file = Ops.add(
           Ops.add(AutoinstConfig.tmpDir, "/"),
           "valid.xml"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/autoyast2-4.4.27/src/lib/autoinstall/clients/ayast_setup.rb 
new/autoyast2-4.4.28/src/lib/autoinstall/clients/ayast_setup.rb
--- old/autoyast2-4.4.27/src/lib/autoinstall/clients/ayast_setup.rb     
2022-01-24 10:04:04.000000000 +0100
+++ new/autoyast2-4.4.28/src/lib/autoinstall/clients/ayast_setup.rb     
2022-01-26 08:03:35.000000000 +0100
@@ -25,7 +25,7 @@
 Yast.import "Stage"
 Yast.import "AutoInstall"
 Yast.import "AutoinstSoftware"
-Yast.import "PackageSystem"
+Yast.import "Package"
 Yast.import "AutoinstData"
 Yast.import "Lan"
 Yast.import "Pkg"
@@ -61,7 +61,7 @@
         )
 
         postPackages = Builtins.filter(postPackages) do |p|
-          !Yast::PackageSystem.Installed(p)
+          !Yast::Package.Installed(p)
         end
         Yast::AutoinstSoftware.addPostPackages(postPackages)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/autoyast2-4.4.27/src/lib/autoinstall/clients/clone_system.rb 
new/autoyast2-4.4.28/src/lib/autoinstall/clients/clone_system.rb
--- old/autoyast2-4.4.27/src/lib/autoinstall/clients/clone_system.rb    
2022-01-24 10:04:04.000000000 +0100
+++ new/autoyast2-4.4.28/src/lib/autoinstall/clients/clone_system.rb    
2022-01-26 08:03:35.000000000 +0100
@@ -32,7 +32,7 @@
 Yast.import "FileUtils"
 Yast.import "Report"
 Yast.import "Installation"
-Yast.import "PackageSystem"
+Yast.import "Package"
 
 module Y2Autoinstallation
   module Clients
@@ -47,8 +47,8 @@
       # Handle the command line options and clone the system
       def main
         if Yast::Mode.normal
-          if !Yast::PackageSystem.Installed("autoyast2")
-            ret = Yast::PackageSystem.InstallAll(["autoyast2"])
+          if !Yast::Package.Installed("autoyast2")
+            ret = Yast::Package.InstallAll(["autoyast2"])
             # The modules/clients has to be reloaded. So the export
             # will be restarted.
             if ret
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/autoyast2-4.4.27/src/lib/autoinstall/package_searcher.rb 
new/autoyast2-4.4.28/src/lib/autoinstall/package_searcher.rb
--- old/autoyast2-4.4.27/src/lib/autoinstall/package_searcher.rb        
2022-01-24 10:04:04.000000000 +0100
+++ new/autoyast2-4.4.28/src/lib/autoinstall/package_searcher.rb        
2022-01-26 08:03:35.000000000 +0100
@@ -20,8 +20,6 @@
 require "yast"
 require "y2packager/resolvable"
 
-Yast.import "PackageSystem"
-
 module Y2Autoinstallation
   # Class responsible for finding packages for given sections. Uses 
yast2-schema.
   class PackagerSearcher
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoyast2-4.4.27/src/modules/AutoinstSoftware.rb 
new/autoyast2-4.4.28/src/modules/AutoinstSoftware.rb
--- old/autoyast2-4.4.27/src/modules/AutoinstSoftware.rb        2022-01-24 
10:04:04.000000000 +0100
+++ new/autoyast2-4.4.28/src/modules/AutoinstSoftware.rb        2022-01-26 
08:03:35.000000000 +0100
@@ -43,7 +43,7 @@
       Yast.import "Mode"
       Yast.import "Misc"
       Yast.import "Directory"
-      Yast.import "PackageSystem"
+      Yast.import "Package"
       Yast.import "ProductFeatures"
       Yast.import "WorkflowManager"
       Yast.import "Product"
@@ -445,7 +445,7 @@
     # @param calcpost [Array<String>] list calculated post packages
     def addPostPackages(calcpost)
       # filter out already installed packages
-      calcpost.reject! { |p| PackageSystem.Installed(p) }
+      calcpost.reject! { |p| Package.Installed(p) }
 
       calcpost = deep_copy(calcpost)
       AutoinstData.post_packages = Convert.convert(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoyast2-4.4.27/test/AutoinstSoftware_test.rb 
new/autoyast2-4.4.28/test/AutoinstSoftware_test.rb
--- old/autoyast2-4.4.27/test/AutoinstSoftware_test.rb  2022-01-24 
10:04:04.000000000 +0100
+++ new/autoyast2-4.4.28/test/AutoinstSoftware_test.rb  2022-01-26 
08:03:35.000000000 +0100
@@ -22,9 +22,9 @@
   describe "post-software installation" do
     it "installs packages only if they have not already been installed" do
       Yast::AutoinstData.post_packages = ["a2"]
-      expect(Yast::PackageSystem).to 
receive(:Installed).with("a1").and_return(false)
-      expect(Yast::PackageSystem).to 
receive(:Installed).with("a2").and_return(false)
-      expect(Yast::PackageSystem).to 
receive(:Installed).with("a3").and_return(true)
+      expect(Yast::Package).to receive(:Installed).with("a1").and_return(false)
+      expect(Yast::Package).to receive(:Installed).with("a2").and_return(false)
+      expect(Yast::Package).to receive(:Installed).with("a3").and_return(true)
       subject.Import(Yast::Profile.current["software"])
 
       expect(Yast::AutoinstData.send(:post_packages)).to eq(["a1", "a2"])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/autoyast2-4.4.27/test/lib/clients/ayast_setup_test.rb 
new/autoyast2-4.4.28/test/lib/clients/ayast_setup_test.rb
--- old/autoyast2-4.4.27/test/lib/clients/ayast_setup_test.rb   2022-01-24 
10:04:04.000000000 +0100
+++ new/autoyast2-4.4.28/test/lib/clients/ayast_setup_test.rb   2022-01-26 
08:03:35.000000000 +0100
@@ -55,7 +55,7 @@
       allow(Yast::WFM).to receive(:CallFunction)
       allow(Yast::Mode).to receive(:SetMode)
       allow(Yast::Stage).to receive(:Set)
-      allow(Yast::PackageSystem).to receive(:Installed).and_return(true)
+      allow(Yast::Package).to receive(:Installed).and_return(true)
       allow(Yast::Pkg).to receive(:TargetInit)
       allow(subject).to receive(:restart_initscripts)
       subject.dopackages = dopackages
@@ -77,7 +77,7 @@
       let(:dopackages) { true }
 
       it "installs given post installation packages / patterns when not 
installed yet" do
-        expect(Yast::PackageSystem).to receive(:Installed).and_return(false)
+        expect(Yast::Package).to receive(:Installed).and_return(false)
         expect(Yast::AutoinstSoftware).to 
receive(:addPostPackages).with(["vim"])
         expect(Yast::WFM).to receive(:CallFunction).with("inst_rpmcopy", [])
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/autoyast2-4.4.27/test/lib/clients/clone_system_test.rb 
new/autoyast2-4.4.28/test/lib/clients/clone_system_test.rb
--- old/autoyast2-4.4.27/test/lib/clients/clone_system_test.rb  2022-01-24 
10:04:04.000000000 +0100
+++ new/autoyast2-4.4.28/test/lib/clients/clone_system_test.rb  2022-01-26 
08:03:35.000000000 +0100
@@ -42,7 +42,7 @@
     before do
       allow(Yast::WFM).to receive(:Args).and_return(args)
       allow(Yast::Mode).to receive(:normal).and_return(normal?)
-      allow(Yast::PackageSystem).to receive(:Installed).with("autoyast2")
+      allow(Yast::Package).to receive(:Installed).with("autoyast2")
         .and_return(package_installed?)
       allow(Yast::Installation).to receive(:restart_file)
         .and_return(File.join(tmp_dir, "restart_yast"))
@@ -70,7 +70,7 @@
         let(:package_installed?) { false }
 
         it "installs the 'autoyast2' package and creates the 'restart file'" do
-          expect(Yast::PackageSystem).to 
receive(:InstallAll).with(["autoyast2"]).and_return(true)
+          expect(Yast::Package).to 
receive(:InstallAll).with(["autoyast2"]).and_return(true)
           client.main
           expect(File).to exist(Yast::Installation.restart_file)
         end

Reply via email to