From 77e0320ee8a3b9be2d591309c6e0212426fd4c21 Mon Sep 17 00:00:00 2001 From: Stefan Hundhammer Date: Wed, 10 Jul 2024 14:18:27 +0200 Subject: [PATCH 1/2] Re-added missing error class (bsc#1227580) --- library/systemd/src/lib/yast2/systemd/target.rb | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/library/systemd/src/lib/yast2/systemd/target.rb b/library/systemd/src/lib/yast2/systemd/target.rb index 686ddb00d..bfb98aba5 100644 --- a/library/systemd/src/lib/yast2/systemd/target.rb +++ b/library/systemd/src/lib/yast2/systemd/target.rb @@ -10,6 +10,14 @@ def initialize(target_name) end end + # Exception when systemctl command failed + class SystemctlError < StandardError + # @param details [#to_s] + def initialize(details) + super "Systemctl command failed: #{details}" + end + end + # API to manage a systemd.target unit # # @example How to find a custom systemd target From 70c3bf91ec8023cb39d0bdc08bd1ed7bd3eed527 Mon Sep 17 00:00:00 2001 From: Stefan Hundhammer Date: Wed, 10 Jul 2024 14:19:36 +0200 Subject: [PATCH 2/2] Version bump and change log --- package/yast2.changes | 6 ++++++ package/yast2.spec | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/package/yast2.changes b/package/yast2.changes index c9e80e7e2..ce2eb3a1c 100644 --- a/package/yast2.changes +++ b/package/yast2.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jul 10 12:19:16 UTC 2024 - Stefan Hundhammer + +- Re-added missing error class (bsc#1227580) +- 5.0.9 + ------------------------------------------------------------------- Mon May 6 13:08:32 UTC 2024 - Ladislav Slezák diff --git a/package/yast2.spec b/package/yast2.spec index 8a771f5b9..de491e6ce 100644 --- a/package/yast2.spec +++ b/package/yast2.spec @@ -17,7 +17,7 @@ Name: yast2 -Version: 5.0.8 +Version: 5.0.9 Release: 0 Summary: YaST2 Main Package