Script 'mail_helper' called by obssrc
Hello community,

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

Package is "yast2-packager"

Thu Jan 27 23:16:41 2022 rev:420 rq:949185 version:4.4.21

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-packager/yast2-packager.changes    
2022-01-21 01:25:16.158649244 +0100
+++ /work/SRC/openSUSE:Factory/.yast2-packager.new.1898/yast2-packager.changes  
2022-01-27 23:17:14.898861513 +0100
@@ -1,0 +2,6 @@
+Tue Jan 25 13:48:20 UTC 2022 - Imobach Gonzalez Sosa <igonzalezs...@suse.com>
+
+- Use Package module instead of PackageSystem (bsc#1194886).
+- 4.4.21
+
+-------------------------------------------------------------------

Old:
----
  yast2-packager-4.4.20.tar.bz2

New:
----
  yast2-packager-4.4.21.tar.bz2

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

Other differences:
------------------
++++++ yast2-packager.spec ++++++
--- /var/tmp/diff_new_pack.vP9bUQ/_old  2022-01-27 23:17:15.634856428 +0100
+++ /var/tmp/diff_new_pack.vP9bUQ/_new  2022-01-27 23:17:15.638856400 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-packager
-Version:        4.4.20
+Version:        4.4.21
 Release:        0
 Summary:        YaST2 - Package Library
 License:        GPL-2.0-or-later
@@ -36,8 +36,8 @@
 BuildRequires:  yast2-storage-ng >= 4.0.141
 # break the yast2-packager -> yast2-storage-ng -> yast2-packager build cycle
 #!BuildIgnore: yast2-packager
-# Product#register_target
-BuildRequires:  yast2 >= 4.4.25
+# Replace PackageSystem with Package
+BuildRequires:  yast2 >= 4.4.38
 # raw_name
 BuildRequires:  yast2-pkg-bindings >= 4.2.8
 # yast/rspec/helpers.rb
@@ -50,8 +50,8 @@
 Requires:       yast2-country-data >= 2.16.3
 # raw_name
 Requires:       yast2-pkg-bindings >= 4.2.8
-# Product#register_target
-Requires:       yast2 >= 4.4.25
+# Replace PackageSystem with Package
+Requires:       yast2 >= 4.4.38
 # unzipping license file
 Requires:       unzip
 # HTTP, FTP, HTTPS modules (inst_productsources.ycp)

++++++ yast2-packager-4.4.20.tar.bz2 -> yast2-packager-4.4.21.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-packager-4.4.20/package/yast2-packager.changes 
new/yast2-packager-4.4.21/package/yast2-packager.changes
--- old/yast2-packager-4.4.20/package/yast2-packager.changes    2022-01-19 
09:48:25.000000000 +0100
+++ new/yast2-packager-4.4.21/package/yast2-packager.changes    2022-01-26 
08:47:13.000000000 +0100
@@ -1,4 +1,10 @@
 -------------------------------------------------------------------
+Tue Jan 25 13:48:20 UTC 2022 - Imobach Gonzalez Sosa <igonzalezs...@suse.com>
+
+- Use Package module instead of PackageSystem (bsc#1194886).
+- 4.4.21
+
+-------------------------------------------------------------------
 Tue Jan 18 15:46:09 UTC 2022 - Ladislav Slez??k <lsle...@suse.cz>
 
 - Enabled RSpec verifying doubles (bsc#1194784)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-packager-4.4.20/package/yast2-packager.spec 
new/yast2-packager-4.4.21/package/yast2-packager.spec
--- old/yast2-packager-4.4.20/package/yast2-packager.spec       2022-01-19 
09:48:25.000000000 +0100
+++ new/yast2-packager-4.4.21/package/yast2-packager.spec       2022-01-26 
08:47:13.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-packager
-Version:        4.4.20
+Version:        4.4.21
 Release:        0
 Summary:        YaST2 - Package Library
 License:        GPL-2.0-or-later
@@ -36,8 +36,8 @@
 BuildRequires:  yast2-storage-ng >= 4.0.141
 # break the yast2-packager -> yast2-storage-ng -> yast2-packager build cycle
 #!BuildIgnore: yast2-packager
-# Product#register_target
-BuildRequires:  yast2 >= 4.4.25
+# Replace PackageSystem with Package
+BuildRequires:  yast2 >= 4.4.38
 # raw_name
 BuildRequires:  yast2-pkg-bindings >= 4.2.8
 # yast/rspec/helpers.rb
@@ -50,8 +50,8 @@
 Requires:       yast2-country-data >= 2.16.3
 # raw_name
 Requires:       yast2-pkg-bindings >= 4.2.8
-# Product#register_target
-Requires:       yast2 >= 4.4.25
+# Replace PackageSystem with Package
+Requires:       yast2 >= 4.4.38
 # unzipping license file
 Requires:       unzip
 # HTTP, FTP, HTTPS modules (inst_productsources.ycp)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-packager-4.4.20/src/clients/sw_single.rb 
new/yast2-packager-4.4.21/src/clients/sw_single.rb
--- old/yast2-packager-4.4.20/src/clients/sw_single.rb  2022-01-19 
09:48:25.000000000 +0100
+++ new/yast2-packager-4.4.21/src/clients/sw_single.rb  2022-01-26 
08:47:13.000000000 +0100
@@ -35,7 +35,7 @@
       Yast.import "Wizard"
       Yast.import "Popup"
       Yast.import "GetInstArgs"
-      Yast.import "PackageSystem"
+      Yast.import "Package"
       Yast.import "Report"
       Yast.import "FileUtils"
       Yast.import "PackagesUI"
@@ -150,7 +150,7 @@
       # If the first argument is a package ending with .rpm call 
Pkg::TargetInstall for
       # each arg.
       if Builtins.regexpmatch(first_arg, "\\.rpm$") # package name given
-        PackageSystem.EnsureSourceInit
+        Package.EnsureSourceInit
 
         # if sw_single is called with an absolute package-pathname, there is 
no need to
         # mount the source medium or check SuSE version or dependencies
@@ -601,8 +601,8 @@
             when :online_update_configuration
               required_package = "yast2-online-update-configuration"
 
-              if !PackageSystem.Installed(required_package) &&
-                  !PackageSystem.CheckAndInstallPackages([required_package])
+              if !Package.Installed(required_package) &&
+                  !Package.CheckAndInstallPackages([required_package])
                 Report.Error(
                   Builtins.sformat(
                     _(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-packager-4.4.20/src/include/checkmedia/ui.rb 
new/yast2-packager-4.4.21/src/include/checkmedia/ui.rb
--- old/yast2-packager-4.4.20/src/include/checkmedia/ui.rb      2022-01-19 
09:48:25.000000000 +0100
+++ new/yast2-packager-4.4.21/src/include/checkmedia/ui.rb      2022-01-26 
08:47:13.000000000 +0100
@@ -37,7 +37,7 @@
       Yast.import "Sequencer"
       Yast.import "String"
       Yast.import "Stage"
-      Yast.import "PackageSystem"
+      Yast.import "Package"
       Yast.import "GetInstArgs"
       Yast.import "Directory"
 
@@ -259,7 +259,7 @@
       req_package = "checkmedia"
 
       if Ops.less_than(SCR.Read(path(".target.size"), CheckMedia.checkmedia), 
0) &&
-          !PackageSystem.CheckAndInstallPackagesInteractive([req_package])
+          !Package.CheckAndInstallPackagesInteractive([req_package])
         return :abort
       end
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-packager-4.4.20/src/include/packager/repositories_include.rb 
new/yast2-packager-4.4.21/src/include/packager/repositories_include.rb
--- old/yast2-packager-4.4.20/src/include/packager/repositories_include.rb      
2022-01-19 09:48:25.000000000 +0100
+++ new/yast2-packager-4.4.21/src/include/packager/repositories_include.rb      
2022-01-26 08:47:13.000000000 +0100
@@ -20,7 +20,7 @@
       Yast.import "Wizard"
       Yast.import "AddOnProduct"
       Yast.import "URL"
-      Yast.import "PackageSystem"
+      Yast.import "Package"
       Yast.import "Popup"
       Yast.import "Label"
       Yast.import "Mode"
@@ -243,14 +243,14 @@
       case url
       when "slp://"
         required_package = "yast2-slp"
-        installed_before = PackageSystem.Installed(required_package)
+        installed_before = Package.Installed(required_package)
 
         if !Stage.initial && !installed_before
           # Tries to Check and Install packages
-          if !PackageSystem.CheckAndInstallPackagesInteractive(
+          if !Package.CheckAndInstallPackagesInteractive(
             [required_package]
           ) ||
-              !PackageSystem.Installed(required_package)
+              !Package.Installed(required_package)
             Report.Error(
               Builtins.sformat(
                 # popup error message, %1 is the package name
@@ -506,7 +506,7 @@
 
       log.info("Installing missing 'cifs-mount' package...")
       # install cifs-mount package
-      PackageSystem.CheckAndInstallPackages(["cifs-mount"])
+      Package.CheckAndInstallPackages(["cifs-mount"])
     end
 
     # Ask user whether to change the entered URL and try again

Reply via email to