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-25 17:35:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-bootloader (Old) and /work/SRC/openSUSE:Factory/.yast2-bootloader.new.1938 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-bootloader" Tue Jan 25 17:35:50 2022 rev:318 rq:947889 version:4.4.14 Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-bootloader/yast2-bootloader.changes 2022-01-20 00:12:45.210599459 +0100 +++ /work/SRC/openSUSE:Factory/.yast2-bootloader.new.1938/yast2-bootloader.changes 2022-01-25 17:36:43.706062299 +0100 @@ -1,0 +2,6 @@ +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) +- 4.4.14 + +------------------------------------------------------------------- Old: ---- yast2-bootloader-4.4.13.tar.bz2 New: ---- yast2-bootloader-4.4.14.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-bootloader.spec ++++++ --- /var/tmp/diff_new_pack.GjYiGp/_old 2022-01-25 17:36:44.350057863 +0100 +++ /var/tmp/diff_new_pack.GjYiGp/_new 2022-01-25 17:36:44.354057836 +0100 @@ -17,7 +17,7 @@ Name: yast2-bootloader -Version: 4.4.13 +Version: 4.4.14 Release: 0 Summary: YaST2 - Bootloader Configuration License: GPL-2.0-or-later @@ -27,7 +27,8 @@ BuildRequires: yast2 >= 4.3.41 BuildRequires: yast2-devtools >= 4.2.2 -BuildRequires: yast2-ruby-bindings >= 1.0.0 +# yast/rspec/helpers.rb +BuildRequires: yast2-ruby-bindings >= 4.4.7 # BlkDevice#preferred_name and Filesystems::BlkFilesystem#preferred_name BuildRequires: yast2-storage-ng >= 4.3.36 # lenses needed also for tests ++++++ yast2-bootloader-4.4.13.tar.bz2 -> yast2-bootloader-4.4.14.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-bootloader-4.4.13/package/yast2-bootloader.changes new/yast2-bootloader-4.4.14/package/yast2-bootloader.changes --- old/yast2-bootloader-4.4.13/package/yast2-bootloader.changes 2022-01-17 15:27:44.000000000 +0100 +++ new/yast2-bootloader-4.4.14/package/yast2-bootloader.changes 2022-01-21 10:18:14.000000000 +0100 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +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) +- 4.4.14 + +------------------------------------------------------------------- Mon Jan 17 13:48:12 UTC 2022 - Josef Reidinger <jreidin...@suse.com> - Autoyast: add support for password protection (jsc#SLE-20928) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-bootloader-4.4.13/package/yast2-bootloader.spec new/yast2-bootloader-4.4.14/package/yast2-bootloader.spec --- old/yast2-bootloader-4.4.13/package/yast2-bootloader.spec 2022-01-17 15:27:44.000000000 +0100 +++ new/yast2-bootloader-4.4.14/package/yast2-bootloader.spec 2022-01-21 10:18:14.000000000 +0100 @@ -17,7 +17,7 @@ Name: yast2-bootloader -Version: 4.4.13 +Version: 4.4.14 Release: 0 Summary: YaST2 - Bootloader Configuration License: GPL-2.0-or-later @@ -27,7 +27,8 @@ BuildRequires: yast2 >= 4.3.41 BuildRequires: yast2-devtools >= 4.2.2 -BuildRequires: yast2-ruby-bindings >= 1.0.0 +# yast/rspec/helpers.rb +BuildRequires: yast2-ruby-bindings >= 4.4.7 # BlkDevice#preferred_name and Filesystems::BlkFilesystem#preferred_name BuildRequires: yast2-storage-ng >= 4.3.36 # lenses needed also for tests diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-bootloader-4.4.13/test/test_helper.rb new/yast2-bootloader-4.4.14/test/test_helper.rb --- old/yast2-bootloader-4.4.13/test/test_helper.rb 2022-01-17 15:27:44.000000000 +0100 +++ new/yast2-bootloader-4.4.14/test/test_helper.rb 2022-01-21 10:18:14.000000000 +0100 @@ -69,17 +69,7 @@ # stub module to prevent its Import # Useful for modules from different yast packages, to avoid build dependencies -def stub_module(name, fake_class = nil) - fake_class = Class.new { def self.fake_method; end } if fake_class.nil? - Yast.const_set name.to_sym, fake_class -end - -AutoInstallStub = Class.new do - def self.issues_list - [] - end -end -stub_module("AutoInstall", AutoInstallStub) +Yast::RSpec::Helpers.define_yast_module("AutoInstall", methods: [:issues_list]) # stub udev mapping everywhere RSpec.configure do |config|