Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2-bootloader for openSUSE:Factory checked in at 2022-01-27 23:16:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-bootloader (Old) and /work/SRC/openSUSE:Factory/.yast2-bootloader.new.1898 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-bootloader" Thu Jan 27 23:16:38 2022 rev:319 rq:949164 version:4.4.15 Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-bootloader/yast2-bootloader.changes 2022-01-25 17:36:43.706062299 +0100 +++ /work/SRC/openSUSE:Factory/.yast2-bootloader.new.1898/yast2-bootloader.changes 2022-01-27 23:17:06.994916119 +0100 @@ -1,0 +2,6 @@ +Tue Jan 25 13:11:58 UTC 2022 - Imobach Gonzalez Sosa <igonzalezs...@suse.com> + +- Use Package module instead of PackageSystem (bsc#1194886). +- 4.4.15 + +------------------------------------------------------------------- Old: ---- yast2-bootloader-4.4.14.tar.bz2 New: ---- yast2-bootloader-4.4.15.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-bootloader.spec ++++++ --- /var/tmp/diff_new_pack.ElltIq/_old 2022-01-27 23:17:07.646911615 +0100 +++ /var/tmp/diff_new_pack.ElltIq/_new 2022-01-27 23:17:07.654911560 +0100 @@ -17,7 +17,7 @@ Name: yast2-bootloader -Version: 4.4.14 +Version: 4.4.15 Release: 0 Summary: YaST2 - Bootloader Configuration License: GPL-2.0-or-later @@ -25,7 +25,8 @@ URL: https://github.com/yast/yast-bootloader Source0: %{name}-%{version}.tar.bz2 -BuildRequires: yast2 >= 4.3.41 +# Replace PackageSystem with Package +BuildRequires: yast2 >= 4.4.38 BuildRequires: yast2-devtools >= 4.2.2 # yast/rspec/helpers.rb BuildRequires: yast2-ruby-bindings >= 4.4.7 @@ -41,8 +42,8 @@ PreReq: /bin/sed %fillup_prereq # Base classes for inst clients Requires: parted -# Kernel.propose_hibernation? -Requires: yast2 >= 4.3.41 +# Replace PackageSystem with Package +Requires: yast2 >= 4.4.38 Requires: yast2-core >= 2.18.7 Requires: yast2-packager >= 2.17.24 Requires: yast2-pkg-bindings >= 2.17.25 ++++++ yast2-bootloader-4.4.14.tar.bz2 -> yast2-bootloader-4.4.15.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-bootloader-4.4.14/package/yast2-bootloader.changes new/yast2-bootloader-4.4.15/package/yast2-bootloader.changes --- old/yast2-bootloader-4.4.14/package/yast2-bootloader.changes 2022-01-21 10:18:14.000000000 +0100 +++ new/yast2-bootloader-4.4.15/package/yast2-bootloader.changes 2022-01-26 07:52:53.000000000 +0100 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Tue Jan 25 13:11:58 UTC 2022 - Imobach Gonzalez Sosa <igonzalezs...@suse.com> + +- Use Package module instead of PackageSystem (bsc#1194886). +- 4.4.15 + +------------------------------------------------------------------- Fri Jan 21 06:46:11 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-bootloader-4.4.14/package/yast2-bootloader.spec new/yast2-bootloader-4.4.15/package/yast2-bootloader.spec --- old/yast2-bootloader-4.4.14/package/yast2-bootloader.spec 2022-01-21 10:18:14.000000000 +0100 +++ new/yast2-bootloader-4.4.15/package/yast2-bootloader.spec 2022-01-26 07:52:53.000000000 +0100 @@ -17,7 +17,7 @@ Name: yast2-bootloader -Version: 4.4.14 +Version: 4.4.15 Release: 0 Summary: YaST2 - Bootloader Configuration License: GPL-2.0-or-later @@ -25,7 +25,8 @@ URL: https://github.com/yast/yast-bootloader Source0: %{name}-%{version}.tar.bz2 -BuildRequires: yast2 >= 4.3.41 +# Replace PackageSystem with Package +BuildRequires: yast2 >= 4.4.38 BuildRequires: yast2-devtools >= 4.2.2 # yast/rspec/helpers.rb BuildRequires: yast2-ruby-bindings >= 4.4.7 @@ -41,8 +42,8 @@ PreReq: /bin/sed %fillup_prereq # Base classes for inst clients Requires: parted -# Kernel.propose_hibernation? -Requires: yast2 >= 4.3.41 +# Replace PackageSystem with Package +Requires: yast2 >= 4.4.38 Requires: yast2-core >= 2.18.7 Requires: yast2-packager >= 2.17.24 Requires: yast2-pkg-bindings >= 2.17.25 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-bootloader-4.4.14/src/lib/bootloader/bootloader_base.rb new/yast2-bootloader-4.4.15/src/lib/bootloader/bootloader_base.rb --- old/yast2-bootloader-4.4.14/src/lib/bootloader/bootloader_base.rb 2022-01-21 10:18:14.000000000 +0100 +++ new/yast2-bootloader-4.4.15/src/lib/bootloader/bootloader_base.rb 2022-01-26 07:52:53.000000000 +0100 @@ -6,7 +6,7 @@ Yast.import "BootStorage" Yast.import "Linuxrc" Yast.import "Mode" -Yast.import "PackageSystem" +Yast.import "Package" module Bootloader # Represents base for all kinds of bootloaders @@ -28,7 +28,7 @@ write_sysconfig return true unless Yast::Mode.normal - return true if Yast::PackageSystem.InstallAll(packages) + return true if Yast::Package.InstallAll(packages) restore_initial_sysconfig diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-bootloader-4.4.14/src/lib/bootloader/mbr_update.rb new/yast2-bootloader-4.4.15/src/lib/bootloader/mbr_update.rb --- old/yast2-bootloader-4.4.14/src/lib/bootloader/mbr_update.rb 2022-01-21 10:18:14.000000000 +0100 +++ new/yast2-bootloader-4.4.15/src/lib/bootloader/mbr_update.rb 2022-01-26 07:52:53.000000000 +0100 @@ -7,7 +7,7 @@ require "y2storage" Yast.import "Arch" -Yast.import "PackageSystem" +Yast.import "Package" Yast.import "BootStorage" module Bootloader @@ -61,7 +61,7 @@ end def install_generic_mbr - Yast::PackageSystem.Install("syslinux") unless Yast::Stage.initial + Yast::Package.Install("syslinux") unless Yast::Stage.initial disks_to_rewrite.each do |disk| log.info "Copying generic MBR code to #{disk}" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-bootloader-4.4.14/test/bootloader_base_test.rb new/yast2-bootloader-4.4.15/test/bootloader_base_test.rb --- old/yast2-bootloader-4.4.14/test/bootloader_base_test.rb 2022-01-21 10:18:14.000000000 +0100 +++ new/yast2-bootloader-4.4.15/test/bootloader_base_test.rb 2022-01-26 07:52:53.000000000 +0100 @@ -17,7 +17,7 @@ allow(Bootloader::Sysconfig).to receive(:new).and_return(new_sysconfig) allow(Bootloader::Sysconfig).to receive(:from_system).and_return(initial_sysconfig) - allow(Yast::PackageSystem).to receive(:InstallAll) + allow(Yast::Package).to receive(:InstallAll) allow(Yast2::Popup).to receive(:show).and_return(true) @@ -42,14 +42,14 @@ let(:normal_mode) { true } it "tries to install required packages" do - expect(Yast::PackageSystem).to receive(:InstallAll).with(["kexec-tools"]) + expect(Yast::Package).to receive(:InstallAll).with(["kexec-tools"]) subject.prepare end context "and the user accepts the installation" do before do - allow(Yast::PackageSystem).to receive(:InstallAll).with(["kexec-tools"]).and_return(true) + allow(Yast::Package).to receive(:InstallAll).with(["kexec-tools"]).and_return(true) end it "returns true" do @@ -63,7 +63,7 @@ context "and the user does not accept the installation" do before do - allow(Yast::PackageSystem).to receive(:InstallAll).with(["kexec-tools"]).and_return(false) + allow(Yast::Package).to receive(:InstallAll).with(["kexec-tools"]).and_return(false) end it "restores the initial sysconfig" do diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-bootloader-4.4.14/test/bootloader_test.rb new/yast2-bootloader-4.4.15/test/bootloader_test.rb --- old/yast2-bootloader-4.4.14/test/bootloader_test.rb 2022-01-21 10:18:14.000000000 +0100 +++ new/yast2-bootloader-4.4.15/test/bootloader_test.rb 2022-01-26 07:52:53.000000000 +0100 @@ -27,7 +27,7 @@ describe ".Write" do context "when user cancels the installation of required packages" do before do - allow(Yast::PackageSystem).to receive(:InstallAll).and_return(false) + allow(Yast::Package).to receive(:InstallAll).and_return(false) allow(Yast2::Popup).to receive(:show) allow(Yast::Package).to receive(:Available).and_return(true) end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-bootloader-4.4.14/test/grub2_efi_test.rb new/yast2-bootloader-4.4.15/test/grub2_efi_test.rb --- old/yast2-bootloader-4.4.14/test/grub2_efi_test.rb 2022-01-21 10:18:14.000000000 +0100 +++ new/yast2-bootloader-4.4.15/test/grub2_efi_test.rb 2022-01-26 07:52:53.000000000 +0100 @@ -65,7 +65,7 @@ before do allow(Bootloader::Sysconfig).to receive(:from_system) - allow(Yast::PackageSystem).to receive(:InstallAll).and_return(true) + allow(Yast::Package).to receive(:InstallAll).and_return(true) end it "writes boot flags configuration to bootloader sysconfig" do diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-bootloader-4.4.14/test/mbr_update_test.rb new/yast2-bootloader-4.4.15/test/mbr_update_test.rb --- old/yast2-bootloader-4.4.14/test/mbr_update_test.rb 2022-01-21 10:18:14.000000000 +0100 +++ new/yast2-bootloader-4.4.15/test/mbr_update_test.rb 2022-01-26 07:52:53.000000000 +0100 @@ -69,7 +69,7 @@ context "when generic mbr is enabled" do before do allow(Yast::Stage).to receive(:initial).and_return(false) - allow(Yast::PackageSystem).to receive(:Install) + allow(Yast::Package).to receive(:Install) allow(::Bootloader::BootRecordBackup) .to receive(:new).and_return(double(:write => true)) end @@ -106,7 +106,7 @@ it "install syslinux if not on initial stage" do allow(Yast::Stage).to receive(:initial).and_return(false) - expect(Yast::PackageSystem).to receive(:Install).with("syslinux") + expect(Yast::Package).to receive(:Install).with("syslinux") subject.run(stage1(generic_mbr: true)) end @@ -125,7 +125,7 @@ context "when activate is enabled" do before do allow(Yast::Stage).to receive(:initial).and_return(false) - allow(Yast::PackageSystem).to receive(:Install) + allow(Yast::Package).to receive(:Install) allow(Yast::Execute).to receive(:locally).and_return("") allow(::Bootloader::BootRecordBackup) .to receive(:new).and_return(double(:write => true))