Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ruby-common for openSUSE:Factory 
checked in at 2021-07-20 15:38:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ruby-common (Old)
 and      /work/SRC/openSUSE:Factory/.ruby-common.new.2632 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ruby-common"

Tue Jul 20 15:38:43 2021 rev:18 rq:904758 version:2.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/ruby-common/ruby-common.changes  2021-01-30 
13:56:00.605990180 +0100
+++ /work/SRC/openSUSE:Factory/.ruby-common.new.2632/ruby-common.changes        
2021-07-20 15:38:55.461414457 +0200
@@ -1,0 +2,5 @@
+Thu Jul  8 12:10:25 UTC 2021 - Stephan Kulow <co...@suse.com>
+
+- Fix the links in /etc/alternatives not to point to themselves
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ gem_install.sh ++++++
--- /var/tmp/diff_new_pack.fUDwVo/_old  2021-07-20 15:38:56.057415524 +0200
+++ /var/tmp/diff_new_pack.fUDwVo/_new  2021-07-20 15:38:56.057415524 +0200
@@ -246,13 +246,14 @@
       unversioned = map_executable(options, unversioned)
       File.rename(default_path, full_versioned)
       patchfile(full_versioned,  />= 0(\.a)?/, "= #{options.gemversion}")
+      link_target = File.join(Gem.bindir, full_versioned)
       # unversioned
       [unversioned, ruby_versioned, gem_versioned].each do |linkname|
         full_path = File.join(br_ua_dir, linkname)
         ua_path   = File.join(options.ua_dir, linkname)
-        GILogger.info "Linking '#{linkname}' to '#{full_path}'"
-        File.symlink(linkname, full_path) unless File.symlink? full_path
-        GILogger.info "Linking '#{ua_path}' to '#{linkname}'"
+        GILogger.info "Symlinking '#{full_path} -> '#{linkname}'"
+        File.symlink(link_target, full_path) unless File.symlink? full_path
+        GILogger.info "Symlinking '#{linkname}' -> '#{ua_path}'"
         File.symlink(ua_path, linkname) unless File.symlink? linkname
       end
     end

Reply via email to