Hello community, here is the log from the commit of package yast2-installation for openSUSE:Factory checked in at 2020-06-11 14:44:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-installation (Old) and /work/SRC/openSUSE:Factory/.yast2-installation.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-installation" Thu Jun 11 14:44:14 2020 rev:446 rq:813273 version:4.3.2 Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-installation/yast2-installation.changes 2020-05-15 23:49:38.345234563 +0200 +++ /work/SRC/openSUSE:Factory/.yast2-installation.new.3606/yast2-installation.changes 2020-06-11 14:44:39.537374979 +0200 @@ -1,0 +2,7 @@ +Wed Jun 10 12:43:33 UTC 2020 - Ladislav Slezák <lsle...@suse.cz> + +- Fixed yupdate script to correctly install the needed Ruby gems + (bsc#1172793) +- 4.3.2 + +------------------------------------------------------------------- Old: ---- yast2-installation-4.3.1.tar.bz2 New: ---- yast2-installation-4.3.2.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-installation.spec ++++++ --- /var/tmp/diff_new_pack.WILYqa/_old 2020-06-11 14:44:40.197376902 +0200 +++ /var/tmp/diff_new_pack.WILYqa/_new 2020-06-11 14:44:40.201376913 +0200 @@ -17,7 +17,7 @@ Name: yast2-installation -Version: 4.3.1 +Version: 4.3.2 Release: 0 Summary: YaST2 - Installation Parts License: GPL-2.0-only ++++++ yast2-installation-4.3.1.tar.bz2 -> yast2-installation-4.3.2.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-4.3.1/bin/yupdate new/yast2-installation-4.3.2/bin/yupdate --- old/yast2-installation-4.3.1/bin/yupdate 2020-05-12 13:44:09.000000000 +0200 +++ new/yast2-installation-4.3.2/bin/yupdate 2020-06-10 17:14:19.000000000 +0200 @@ -35,7 +35,7 @@ class Version MAJOR = 0 MINOR = 1 - PATCH = 0 + PATCH = 1 STRING = "#{MAJOR}.#{MINOR}.#{PATCH}".freeze end @@ -403,7 +403,10 @@ def install_gems(gem_names) return if gem_names.empty? add_gem_overlay - system("gem", "install", "--no-document", "--no-format-exec", *gem_names) + # explicitly set the bindir, the /mounts/mp_0001/usr/.... prefix + # confuses gem and it does not create the bin file + system("gem", "install", "--bindir", "/usr/bin", "--no-document", + "--no-format-exec", *gem_names) end # make sure that the gem directory is writable @@ -453,6 +456,8 @@ # install the sources to the specified (temporary) directory def install_sources(target) + raise "/usr/bin/rake does not exist!" unless File.exist?("/usr/bin/rake") + msg "Preparing files..." # check for Makefile.cvs, we cannot install packages using autotools diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-4.3.1/package/yast2-installation.changes new/yast2-installation-4.3.2/package/yast2-installation.changes --- old/yast2-installation-4.3.1/package/yast2-installation.changes 2020-05-12 13:44:09.000000000 +0200 +++ new/yast2-installation-4.3.2/package/yast2-installation.changes 2020-06-10 17:14:19.000000000 +0200 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Wed Jun 10 12:43:33 UTC 2020 - Ladislav Slezák <lsle...@suse.cz> + +- Fixed yupdate script to correctly install the needed Ruby gems + (bsc#1172793) +- 4.3.2 + +------------------------------------------------------------------- Tue May 12 08:39:02 UTC 2020 - Josef Reidinger <jreidin...@suse.com> - Autoyast schema: Allow optional types for string and map objects diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-4.3.1/package/yast2-installation.spec new/yast2-installation-4.3.2/package/yast2-installation.spec --- old/yast2-installation-4.3.1/package/yast2-installation.spec 2020-05-12 13:44:09.000000000 +0200 +++ new/yast2-installation-4.3.2/package/yast2-installation.spec 2020-06-10 17:14:19.000000000 +0200 @@ -16,7 +16,7 @@ # Name: yast2-installation -Version: 4.3.1 +Version: 4.3.2 Release: 0 Group: System/YaST License: GPL-2.0-only diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-4.3.1/test/yupdate/gem_installer_test.rb new/yast2-installation-4.3.2/test/yupdate/gem_installer_test.rb --- old/yast2-installation-4.3.1/test/yupdate/gem_installer_test.rb 2020-05-12 13:44:09.000000000 +0200 +++ new/yast2-installation-4.3.2/test/yupdate/gem_installer_test.rb 2020-06-10 17:14:19.000000000 +0200 @@ -16,6 +16,8 @@ expect(subject).to receive(:system).with( "gem", "install", + "--bindir", + "/usr/bin", "--no-document", "--no-format-exec", "yast-rake"