Hello community, here is the log from the commit of package yast2-ruby-bindings for openSUSE:Factory checked in at 2020-01-11 14:47:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-ruby-bindings (Old) and /work/SRC/openSUSE:Factory/.yast2-ruby-bindings.new.6675 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-ruby-bindings" Sat Jan 11 14:47:25 2020 rev:100 rq:761104 version:4.2.7 Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-ruby-bindings/yast2-ruby-bindings.changes 2020-01-04 19:20:42.317120330 +0100 +++ /work/SRC/openSUSE:Factory/.yast2-ruby-bindings.new.6675/yast2-ruby-bindings.changes 2020-01-11 14:47:30.697361895 +0100 @@ -1,0 +2,7 @@ +Fri Jan 3 15:02:24 UTC 2020 - Josef Reidinger <jreidin...@suse.com> + +- Fix previous fix to really set exit code in ruby wrapper + (bsc#1144351) +- 4.2.7 + +------------------------------------------------------------------- Old: ---- yast2-ruby-bindings-4.2.6.tar.bz2 New: ---- yast2-ruby-bindings-4.2.7.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-ruby-bindings.spec ++++++ --- /var/tmp/diff_new_pack.8owprA/_old 2020-01-11 14:47:31.513362213 +0100 +++ /var/tmp/diff_new_pack.8owprA/_new 2020-01-11 14:47:31.517362215 +0100 @@ -1,7 +1,7 @@ # # spec file for package yast2-ruby-bindings # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. # # 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-ruby-bindings -Version: 4.2.6 +Version: 4.2.7 Release: 0 Url: https://github.com/yast/yast-ruby-bindings BuildRoot: %{_tmppath}/%{name}-%{version}-build ++++++ yast2-ruby-bindings-4.2.6.tar.bz2 -> yast2-ruby-bindings-4.2.7.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-ruby-bindings-4.2.6/package/yast2-ruby-bindings.changes new/yast2-ruby-bindings-4.2.7/package/yast2-ruby-bindings.changes --- old/yast2-ruby-bindings-4.2.6/package/yast2-ruby-bindings.changes 2019-12-19 11:55:34.000000000 +0100 +++ new/yast2-ruby-bindings-4.2.7/package/yast2-ruby-bindings.changes 2020-01-06 12:22:34.000000000 +0100 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Fri Jan 3 15:02:24 UTC 2020 - Josef Reidinger <jreidin...@suse.com> + +- Fix previous fix to really set exit code in ruby wrapper + (bsc#1144351) +- 4.2.7 + +------------------------------------------------------------------- Tue Dec 17 14:48:01 UTC 2019 - Josef Reidinger <jreidin...@suse.com> - Fix returning error codes from y2start start point. Helps with diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-ruby-bindings-4.2.6/package/yast2-ruby-bindings.spec new/yast2-ruby-bindings-4.2.7/package/yast2-ruby-bindings.spec --- old/yast2-ruby-bindings-4.2.6/package/yast2-ruby-bindings.spec 2019-12-19 11:55:34.000000000 +0100 +++ new/yast2-ruby-bindings-4.2.7/package/yast2-ruby-bindings.spec 2020-01-06 12:22:34.000000000 +0100 @@ -17,7 +17,7 @@ Name: yast2-ruby-bindings -Version: 4.2.6 +Version: 4.2.7 Url: https://github.com/yast/yast-ruby-bindings Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-ruby-bindings-4.2.6/src/ruby/yast/wfm.rb new/yast2-ruby-bindings-4.2.7/src/ruby/yast/wfm.rb --- old/yast2-ruby-bindings-4.2.6/src/ruby/yast/wfm.rb 2019-12-19 11:55:34.000000000 +0100 +++ new/yast2-ruby-bindings-4.2.7/src/ruby/yast/wfm.rb 2020-01-06 12:22:34.000000000 +0100 @@ -331,6 +331,9 @@ handle_abort_exception(e, client) exit rescue Exception => e + # Don't interfere with RSpec, such as RSpec::Mocks::MockExpectationError + raise e if e.class.to_s.start_with?("RSpec::") + handle_exception(e, client) false end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-ruby-bindings-4.2.6/src/y2start/y2start new/yast2-ruby-bindings-4.2.7/src/y2start/y2start --- old/yast2-ruby-bindings-4.2.6/src/y2start/y2start 2019-12-19 11:55:34.000000000 +0100 +++ new/yast2-ruby-bindings-4.2.7/src/y2start/y2start 2020-01-06 12:22:34.000000000 +0100 @@ -56,6 +56,6 @@ Yast::Y2StartHelpers.application_title(args[:client_name])) if set_title -Yast::Y2StartHelpers.generate_exit_code( +exit Yast::Y2StartHelpers.generate_exit_code( Yast::WFM.CallFunction(args[:client_name], args[:client_options][:params]) )