Hello community,
here is the log from the commit of package vagrant-libvirt for openSUSE:Factory
checked in at 2020-05-14 23:25:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/vagrant-libvirt (Old)
and /work/SRC/openSUSE:Factory/.vagrant-libvirt.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "vagrant-libvirt"
Thu May 14 23:25:53 2020 rev:6 rq:805676 version:0.0.45
Changes:
--------
--- /work/SRC/openSUSE:Factory/vagrant-libvirt/vagrant-libvirt.changes
2020-03-25 23:47:36.216063338 +0100
+++
/work/SRC/openSUSE:Factory/.vagrant-libvirt.new.2738/vagrant-libvirt.changes
2020-05-14 23:25:59.921138655 +0200
@@ -1,0 +2,5 @@
+Tue May 12 15:29:44 UTC 2020 - Dan Čermák <[email protected]>
+
+- Switch to Ruby 2.6 for Tumbleweed
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ vagrant-libvirt.spec ++++++
--- /var/tmp/diff_new_pack.XVfKTd/_old 2020-05-14 23:26:00.593140122 +0200
+++ /var/tmp/diff_new_pack.XVfKTd/_new 2020-05-14 23:26:00.593140122 +0200
@@ -16,8 +16,16 @@
#
+# FIXME: for now vagrant does not support Ruby 2.7
+%if 0%{?suse_version} > 1500
+%global rb_build_versions ruby26
+%global rb_build_abi ruby:2.6.0
+%global rb_ruby_suffix ruby2.6
+%else
%global rb_build_versions %rb_default_ruby
-%global rb_build_abi %rb_default_build_abi
+%global rb_build_abi %rb_default_ruby_abi
+%global rb_ruby_suffix %rb_default_ruby_suffix
+%endif
Name: vagrant-libvirt
Version: 0.0.45
@@ -70,6 +78,9 @@
# Prevent have choice for rubygem(ruby:2.5.0:thor:0) >= 0.18
BuildRequires: %{rubygem thor:0.19}
+# required when using a non-default ruby version
+BuildRequires: %{rubygem gem2rpm}
+
URL: https://github.com/vagrant-libvirt/vagrant-libvirt
Source: https://rubygems.org/gems/%{mod_full_name}.gem
@@ -144,7 +155,7 @@
# Relax developement rspec dependency
sed -i '/rspec/ s/~>/>=/' %{vagrant_plugin_name}.gemspec
-export GEM_PATH=%{vagrant_plugin_dir}:`ruby.%{rb_default_ruby_suffix} -e
"print Gem.path.join(':')"`
+export GEM_PATH=%{vagrant_plugin_dir}:`ruby.%{vagrant_rb_ruby_suffix} -e
"print Gem.path.join(':')"`
bundle exec rspec spec
rm %{vagrant_plugin_name}.gemspec