Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package yast2-services-manager for 
openSUSE:Factory checked in at 2026-04-10 17:49:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-services-manager (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-services-manager.new.21863 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-services-manager"

Fri Apr 10 17:49:43 2026 rev:66 rq:1345764 version:5.0.3

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/yast2-services-manager/yast2-services-manager.changes
    2025-01-29 16:10:12.139026867 +0100
+++ 
/work/SRC/openSUSE:Factory/.yast2-services-manager.new.21863/yast2-services-manager.changes
 2026-04-10 17:52:41.089020511 +0200
@@ -1,0 +2,13 @@
+Thu Apr  9 13:49:00 UTC 2026 - Ladislav Slezák <[email protected]>
+
+- Drop the yast2-journal build dependency in SLES, this allows also
+  dropping libyui from SLES (related to bsc#1254978)
+- 5.0.3
+
+-------------------------------------------------------------------
+Tue Mar 10 09:00:28 UTC 2026 - Michal Filka <[email protected]>
+
+- jsc#PED-14507
+  - Removed reference to update-desktop-files from spec file 
+  - 5.0.2
+-------------------------------------------------------------------
@@ -376 +388,0 @@
-

Old:
----
  yast2-services-manager-5.0.1.tar.bz2

New:
----
  yast2-services-manager-5.0.3.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ yast2-services-manager.spec ++++++
--- /var/tmp/diff_new_pack.OKgzcz/_old  2026-04-10 17:52:41.653043755 +0200
+++ /var/tmp/diff_new_pack.OKgzcz/_new  2026-04-10 17:52:41.653043755 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package yast2-services-manager
 #
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,7 +24,7 @@
 ######################################################################
 
 Name:           yast2-services-manager
-Version:        5.0.1
+Version:        5.0.3
 Release:        0
 Summary:        YaST2 - Services Manager
 Group:          System/YaST
@@ -34,12 +34,16 @@
 Source0:        %{name}-%{version}.tar.bz2
 
 BuildRequires:  ruby
-BuildRequires:  update-desktop-files
 # 'target' argument for Installation::AutoClient#export method
 BuildRequires:  yast2 >= 4.3.10
 BuildRequires:  yast2-ruby-bindings >= 1.2.0
-# To show service logs
+
+# only in openSUSE Tumbleweed or Leap, not in SLES
+%if 0%{?suse_version} == 1699 || 0%{?is_opensuse}
+# needed just to run an unit test
 BuildRequires:  yast2-journal >= 4.1.1
+%endif
+
 # Support for 'data' directory in rake install task
 BuildRequires:  rubygem(%{rb_default_ruby_abi}:yast-rake) >= 0.1.7
 BuildRequires:  yast2-devtools >= 4.2.2

++++++ yast2-services-manager-5.0.1.tar.bz2 -> 
yast2-services-manager-5.0.3.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-services-manager-5.0.1/package/yast2-services-manager.changes 
new/yast2-services-manager-5.0.3/package/yast2-services-manager.changes
--- old/yast2-services-manager-5.0.1/package/yast2-services-manager.changes     
2025-01-28 12:45:58.000000000 +0100
+++ new/yast2-services-manager-5.0.3/package/yast2-services-manager.changes     
2026-04-10 10:04:05.000000000 +0200
@@ -1,4 +1,17 @@
 -------------------------------------------------------------------
+Thu Apr  9 13:49:00 UTC 2026 - Ladislav Slezák <[email protected]>
+
+- Drop the yast2-journal build dependency in SLES, this allows also
+  dropping libyui from SLES (related to bsc#1254978)
+- 5.0.3
+
+-------------------------------------------------------------------
+Tue Mar 10 09:00:28 UTC 2026 - Michal Filka <[email protected]>
+
+- jsc#PED-14507
+  - Removed reference to update-desktop-files from spec file 
+  - 5.0.2
+-------------------------------------------------------------------
 Tue Jan 28 10:17:29 UTC 2025 - Stefan Hundhammer <[email protected]>
 
 - Remove nscd-related code (bsc#1236308)
@@ -373,7 +386,6 @@
 - 3.1.38
 
 -------------------------------------------------------------------
-
 Thu Dec  4 09:51:33 UTC 2014 - [email protected]
 
 - remove X-KDE-Library from desktop file (bnc#899104)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-services-manager-5.0.1/package/yast2-services-manager.spec 
new/yast2-services-manager-5.0.3/package/yast2-services-manager.spec
--- old/yast2-services-manager-5.0.1/package/yast2-services-manager.spec        
2025-01-28 12:45:58.000000000 +0100
+++ new/yast2-services-manager-5.0.3/package/yast2-services-manager.spec        
2026-04-10 10:04:05.000000000 +0200
@@ -24,7 +24,7 @@
 ######################################################################
 
 Name:           yast2-services-manager
-Version:        5.0.1
+Version:        5.0.3
 Release:        0
 Summary:        YaST2 - Services Manager
 Group:          System/YaST
@@ -34,12 +34,16 @@
 Source0:        %{name}-%{version}.tar.bz2
 
 BuildRequires:  ruby
-BuildRequires:  update-desktop-files
 # 'target' argument for Installation::AutoClient#export method
 BuildRequires:  yast2 >= 4.3.10
 BuildRequires:  yast2-ruby-bindings >= 1.2.0
-# To show service logs
+
+# only in openSUSE Tumbleweed or Leap, not in SLES
+%if 0%{?suse_version} == 1699 || 0%{?is_opensuse}
+# needed just to run an unit test
 BuildRequires:  yast2-journal >= 4.1.1
+%endif
+
 # Support for 'data' directory in rake install task
 BuildRequires:  rubygem(%{rb_default_ruby_abi}:yast-rake) >= 0.1.7
 BuildRequires:  rubygem(%{rb_default_ruby_abi}:rspec)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-services-manager-5.0.1/test/clients/services_manager_test.rb 
new/yast2-services-manager-5.0.3/test/clients/services_manager_test.rb
--- old/yast2-services-manager-5.0.1/test/clients/services_manager_test.rb      
2025-01-28 12:45:58.000000000 +0100
+++ new/yast2-services-manager-5.0.3/test/clients/services_manager_test.rb      
2026-04-10 10:04:05.000000000 +0200
@@ -23,7 +23,11 @@
 require_relative '../test_helper'
 
 require "yast"
-require "y2journal"
+begin
+  require "y2journal"
+rescue LoadError
+  puts "yast2-journal not installed, skipping journal tests"
+end
 require "services-manager/clients/services_manager"
 
 describe Y2ServicesManager::Clients::ServicesManager do
@@ -42,16 +46,18 @@
       subject.run
     end
 
-    context "when yast2-journal is installed" do
-      before do
-        allow(subject).to receive(:journal_loaded?).and_return(true)
-      end
-
-      it "runs the dialog with a button to show the logs" do
-        expect(Y2ServicesManager::Dialogs::ServicesManager).to receive(:new)
-          .with(hash_including(show_logs_button: true)).and_return(dialog)
+    if defined?(::Y2Journal)
+      context "when yast2-journal is installed" do
+        before do
+          allow(subject).to receive(:journal_loaded?).and_return(true)
+        end
+
+        it "runs the dialog with a button to show the logs" do
+          expect(Y2ServicesManager::Dialogs::ServicesManager).to receive(:new)
+            .with(hash_including(show_logs_button: true)).and_return(dialog)
 
-        subject.run
+          subject.run
+        end
       end
     end
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-services-manager-5.0.1/test/dialogs/services_manager_test.rb 
new/yast2-services-manager-5.0.3/test/dialogs/services_manager_test.rb
--- old/yast2-services-manager-5.0.1/test/dialogs/services_manager_test.rb      
2025-01-28 12:45:58.000000000 +0100
+++ new/yast2-services-manager-5.0.3/test/dialogs/services_manager_test.rb      
2026-04-10 10:04:05.000000000 +0200
@@ -23,7 +23,11 @@
 require_relative '../test_helper'
 
 require "yast"
-require "y2journal"
+begin
+  require "y2journal"
+rescue LoadError
+  puts "yast2-journal not installed, skipping journal tests"
+end
 require "services-manager/dialogs/services_manager"
 
 describe Y2ServicesManager::Dialogs::ServicesManager do
@@ -331,24 +335,26 @@
       include_examples "save with errors"
     end
 
-    context "when user selects 'Show Log' button" do
-      let(:user_input) { [:logs_button, :cancel] }
+    if defined?(::Y2Journal)
+      context "when user selects 'Show Log' button" do
+        let(:user_input) { [:logs_button, :cancel] }
 
-      let(:entries_dialog) { instance_double(Y2Journal::EntriesDialog, run: 
nil) }
+        let(:entries_dialog) { instance_double(Y2Journal::EntriesDialog, run: 
nil) }
 
-      let(:services_specs) { [sshd_specs2, postfix_specs] }
+        let(:services_specs) { [sshd_specs2, postfix_specs] }
 
-      let(:sshd_specs2) { sshd_specs.merge(keywords: keywords) }
+        let(:sshd_specs2) { sshd_specs.merge(keywords: keywords) }
 
-      let(:keywords) { ["sshd.service", "sshd.socket"] }
+        let(:keywords) { ["sshd.service", "sshd.socket"] }
 
-      it "shows the systemd journal entries for the selected service" do
-        expect(Y2Journal::EntriesDialog).to receive(:new) do |params|
-          filters = params[:query].filters["unit"]
-          expect(filters).to contain_exactly(*keywords)
-        end.and_return(entries_dialog)
+        it "shows the systemd journal entries for the selected service" do
+          expect(Y2Journal::EntriesDialog).to receive(:new) do |params|
+            filters = params[:query].filters["unit"]
+            expect(filters).to contain_exactly(*keywords)
+          end.and_return(entries_dialog)
 
-        subject.run
+          subject.run
+        end
       end
     end
 

Reply via email to