Skip to content

Commit

Permalink
Merge f9dc1a5 into 2d9fc43
Browse files Browse the repository at this point in the history
  • Loading branch information
mvidner committed Mar 10, 2023
2 parents 2d9fc43 + f9dc1a5 commit 2d8aaf9
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
7 changes: 7 additions & 0 deletions package/yast2-online-update.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Mar 9 08:41:43 UTC 2023 - Martin Vidner <mvidner@suse.com>

- Fix showing of release notes when we update a rubygem
(bsc#1205913)
- 4.5.3

-------------------------------------------------------------------
Mon Nov 21 11:45:35 UTC 2022 - Michal Filka <mfilka@suse.com>

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-online-update.spec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


Name: yast2-online-update
Version: 4.5.2
Version: 4.5.3
Release: 0
Url: https://github.com/yast/yast-online-update
Summary: YaST2 - Online Update (YOU)
Expand Down
11 changes: 11 additions & 0 deletions src/clients/online_update.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,17 @@
# Stefan Schubert <schubi@suse.de>
# Cornelius Schumacher <cschum@suse.de>

# bsc#1205913
# 1. We may update a rubygem
# 2. inst_release_notes may be called, which (indirectly) requires dbus
# Then rubygems would try loading the gemspec of the uninstalled older gem
# and crash. Prevent it by requiring dbus early.
begin
require "dbus"
rescue LoadError
# Call site will check if it's there
end

require "y2packager/resolvable"
require "ui/ui_extension_checker"

Expand Down

0 comments on commit 2d8aaf9

Please sign in to comment.