Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2-configuration-management for openSUSE:Factory checked in at 2022-01-05 13:39:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-configuration-management (Old) and /work/SRC/openSUSE:Factory/.yast2-configuration-management.new.1896 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-configuration-management" Wed Jan 5 13:39:13 2022 rev:23 rq:943534 version:4.4.2 Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-configuration-management/yast2-configuration-management.changes 2021-12-22 20:18:34.107861164 +0100 +++ /work/SRC/openSUSE:Factory/.yast2-configuration-management.new.1896/yast2-configuration-management.changes 2022-01-05 13:39:22.849508038 +0100 @@ -1,0 +2,6 @@ +Fri Dec 31 16:27:23 UTC 2021 - Josef Reidinger <jreidin...@suse.com> + +- Adapt to ruby3.1 (bsc#1193192) +- 4.4.2 + +------------------------------------------------------------------- Old: ---- yast2-configuration-management-4.4.1.tar.bz2 New: ---- yast2-configuration-management-4.4.2.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-configuration-management.spec ++++++ --- /var/tmp/diff_new_pack.fnAluF/_old 2022-01-05 13:39:23.253508357 +0100 +++ /var/tmp/diff_new_pack.fnAluF/_new 2022-01-05 13:39:23.257508359 +0100 @@ -1,7 +1,7 @@ # # spec file for package yast2-configuration-management # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: yast2-configuration-management -Version: 4.4.1 +Version: 4.4.2 Release: 0 URL: https://github.com/yast/yast-migration Summary: YaST2 - YaST Configuration Management ++++++ yast2-configuration-management-4.4.1.tar.bz2 -> yast2-configuration-management-4.4.2.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-configuration-management-4.4.1/package/yast2-configuration-management.changes new/yast2-configuration-management-4.4.2/package/yast2-configuration-management.changes --- old/yast2-configuration-management-4.4.1/package/yast2-configuration-management.changes 2021-12-21 16:06:05.000000000 +0100 +++ new/yast2-configuration-management-4.4.2/package/yast2-configuration-management.changes 2022-01-03 09:14:21.000000000 +0100 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Fri Dec 31 16:27:23 UTC 2021 - Josef Reidinger <jreidin...@suse.com> + +- Adapt to ruby3.1 (bsc#1193192) +- 4.4.2 + +------------------------------------------------------------------- Tue Dec 21 14:19:55 UTC 2021 - Josef Reidinger <jreidin...@suse.com> - Adapt to ruby3 (bsc#1193192) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-configuration-management-4.4.1/package/yast2-configuration-management.spec new/yast2-configuration-management-4.4.2/package/yast2-configuration-management.spec --- old/yast2-configuration-management-4.4.1/package/yast2-configuration-management.spec 2021-12-21 16:06:05.000000000 +0100 +++ new/yast2-configuration-management-4.4.2/package/yast2-configuration-management.spec 2022-01-03 09:14:21.000000000 +0100 @@ -17,7 +17,7 @@ Name: yast2-configuration-management -Version: 4.4.1 +Version: 4.4.2 Release: 0 Url: https://github.com/yast/yast-migration Summary: YaST2 - YaST Configuration Management diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-configuration-management-4.4.1/src/lib/y2configuration_management/salt/pillar.rb new/yast2-configuration-management-4.4.2/src/lib/y2configuration_management/salt/pillar.rb --- old/yast2-configuration-management-4.4.1/src/lib/y2configuration_management/salt/pillar.rb 2021-12-21 16:06:05.000000000 +0100 +++ new/yast2-configuration-management-4.4.2/src/lib/y2configuration_management/salt/pillar.rb 2022-01-03 09:14:21.000000000 +0100 @@ -57,7 +57,13 @@ # @return [Boolean] whether the configuration was read def load return false unless path - @data = YAML.safe_load(File.read(path), [Date, Time]) + + @data = if RUBY_VERSION.start_with?("2.") + YAML.safe_load(File.read(path), [Date, Time]) + else + YAML.safe_load(File.read(path), permitted_classes: [Date, Time]) + end + true rescue IOError, SystemCallError, RuntimeError => error log.error("Reading #{path} failed with exception: #{error.inspect}")