Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rubygem-yast-rake for 
openSUSE:Factory checked in at 2026-07-02 20:06:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-yast-rake (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-yast-rake.new.1982 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-yast-rake"

Thu Jul  2 20:06:27 2026 rev:44 rq:1362734 version:0.2.52

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-yast-rake/rubygem-yast-rake.changes      
2024-06-06 12:31:39.658380245 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-yast-rake.new.1982/rubygem-yast-rake.changes
    2026-07-02 20:07:23.385091191 +0200
@@ -1,0 +2,6 @@
+Mon Jun 29 13:16:24 UTC 2026 - Ladislav Slezák <[email protected]>
+
+- Added support for "alts" as an alternative to the
+ "update-alternatives" script
+
+-------------------------------------------------------------------

Old:
----
  yast-rake-0.2.51.gem

New:
----
  yast-rake-0.2.52.gem

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

Other differences:
------------------
++++++ rubygem-yast-rake.spec ++++++
--- /var/tmp/diff_new_pack.5Ybh2M/_old  2026-07-02 20:07:24.649134881 +0200
+++ /var/tmp/diff_new_pack.5Ybh2M/_new  2026-07-02 20:07:24.653135019 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-yast-rake
 #
-# Copyright (c) 2024 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
@@ -16,24 +16,18 @@
 #
 
 
-# Only build for the default-ruby version
-%define rb_build_versions     %{rb_default_ruby}
-%define rb_build_ruby_abis    %{rb_default_ruby_abi}
-
 Name:           rubygem-yast-rake
-Version:        0.2.51
+Version:        0.2.52
 Release:        0
 %define mod_name yast-rake
 %define mod_full_name %{mod_name}-%{version}
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  %{ruby}
+BuildRequires:  %{ruby >= 2.5.0}
+BuildRequires:  %{rubygem gem2rpm}
 BuildRequires:  ruby-macros >= 5
-BuildRequires:  rubygem(%{rb_default_ruby_abi}:gem2rpm)
 URL:            https://github.com/yast/yast-rake
 Source:         https://rubygems.org/gems/%{mod_full_name}.gem
 Summary:        Rake tasks providing basic work-flow for Yast development
 License:        LGPL-2.1-only
-Group:          Development/Languages/Ruby
 
 %description
 Rake tasks that support work-flow of Yast developer. It allows packaging repo,

++++++ yast-rake-0.2.51.gem -> yast-rake-0.2.52.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/VERSION new/VERSION
--- old/VERSION 2023-12-29 00:15:59.000000000 +0100
+++ new/VERSION 2026-06-30 22:01:47.000000000 +0200
@@ -1 +1 @@
-0.2.51
+0.2.52
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/tasks/rubocop.rake new/lib/tasks/rubocop.rake
--- old/lib/tasks/rubocop.rake  2023-12-29 00:15:59.000000000 +0100
+++ new/lib/tasks/rubocop.rake  2026-06-30 22:01:47.000000000 +0200
@@ -32,13 +32,25 @@
   return @rubocop_bin if @rubocop_bin
   return @rubocop_bin = ENV["RUBOCOP_BIN"] if ENV["RUBOCOP_BIN"]
 
-  binary = `/usr/sbin/update-alternatives --list rubocop | grep 
'#{rubocop_version}'`.strip
-  if !system("which #{binary}")
-    raise "cannot find proper version of rubocop binary in " \
-          "'/usr/sbin/update-alternatives --list rubocop'." \
-          "If rubocop is installed via gem, define its binary name via env 
variable RUBOCOP_BIN."
+  # first try the old "update-alternatives"
+  if File.executable?("/usr/sbin/update-alternatives")
+    binary = `/usr/sbin/update-alternatives --list rubocop | grep 
'#{rubocop_version}'`.strip
+
+    return @rubocop_bin = binary if !binary.empty?
   end
-  @rubocop_bin = binary
+
+  # if that did not work try the newer "alts"
+  if File.executable?("/usr/bin/alts")
+    binary = `/usr/bin/alts -l rubocop | grep "Target:" | sed 
"s/^.*Target:\\s*\\(\\S.*\\)$/\\\\1/"\
+| grep '#{rubocop_version}'`.strip
+
+    return @rubocop_bin = binary if !binary.empty?
+  end
+
+  raise "Cannot find proper version of rubocop binary in " \
+        "'/usr/sbin/update-alternatives --list rubocop' and " \
+        "'/usr/bin/alts -l rubocop'." \
+        "If rubocop is installed via gem, define its binary name via env 
variable RUBOCOP_BIN."
 end
 
 # run Rubocop in parallel
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2024-06-04 12:02:30.000000000 +0200
+++ new/metadata        2026-06-30 22:01:47.000000000 +0200
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: yast-rake
 version: !ruby/object:Gem::Version
-  version: 0.2.51
+  version: 0.2.52
 platform: ruby
 authors:
 - Josef Reidinger
-autorequire: 
+autorequire:
 bindir: bin
 cert_chain: []
-date: 2024-06-04 00:00:00.000000000 Z
+date: 2026-06-30 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: packaging_rake_tasks
@@ -86,7 +86,7 @@
 - LGPL v2.1
 metadata:
   rubygems_mfa_required: 'true'
-post_install_message: 
+post_install_message:
 rdoc_options: []
 require_paths:
 - lib
@@ -101,9 +101,8 @@
     - !ruby/object:Gem::Version
       version: '0'
 requirements: []
-rubyforge_project: 
-rubygems_version: 2.7.6.3
-signing_key: 
+rubygems_version: 3.4.6
+signing_key:
 specification_version: 4
 summary: Rake tasks providing basic work-flow for Yast development
 test_files: []

Reply via email to