Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package vagrant-libvirt for openSUSE:Factory 
checked in at 2021-08-12 10:46:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/vagrant-libvirt (Old)
 and      /work/SRC/openSUSE:Factory/.vagrant-libvirt.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "vagrant-libvirt"

Thu Aug 12 10:46:42 2021 rev:14 rq:911059 version:0.5.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/vagrant-libvirt/vagrant-libvirt.changes  
2021-06-14 23:11:31.320797791 +0200
+++ 
/work/SRC/openSUSE:Factory/.vagrant-libvirt.new.1899/vagrant-libvirt.changes    
    2021-08-12 10:46:44.254135732 +0200
@@ -1,0 +2,8 @@
+Wed Aug  4 08:22:57 UTC 2021 - Dan ??erm??k <dcer...@suse.com>
+
+- Unrestrict rspec-* versions
+
+  Rebase patch:
+  * 0001-Remove-simplecov-from-tests.patch
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ vagrant-libvirt.spec ++++++
--- /var/tmp/diff_new_pack.ll0Zvm/_old  2021-08-12 10:46:44.806140024 +0200
+++ /var/tmp/diff_new_pack.ll0Zvm/_new  2021-08-12 10:46:44.810140055 +0200
@@ -16,9 +16,15 @@
 #
 
 
+%if 0%{?suse_version} > 1500
+%global rb_build_versions ruby30
+%global rb_build_abi ruby:3.0.0
+%global rb_ruby_suffix ruby3.0
+%else
 %global rb_build_versions %rb_default_ruby
 %global rb_build_abi %rb_default_ruby_abi
 %global rb_ruby_suffix %rb_default_ruby_suffix
+%endif
 
 Name:           vagrant-libvirt
 Version:        0.5.3
@@ -40,7 +46,11 @@
 Recommends:     guestfs-tools
 BuildRequires:  vagrant
 
-BuildRequires:  %{ruby}
+%if 0%{?suse_version} > 1500
+BuildRequires:  %{ruby:3 < 3.1}
+%else
+BuildRequires:  %{ruby:2 >= 2.5}
+%endif
 BuildRequires:  ruby-macros >= 5
 
 # for tests:
@@ -51,12 +61,12 @@
 BuildRequires:  %{rubygem fog-core:2 >= 2.1}
 BuildRequires:  %{rubygem fog-libvirt >= 0.3.}
 
-# s.add_development_dependency "rspec-core", "~> 3.5.0"
-BuildRequires:  %{rubygem rspec-core:3.5}
-# s.add_development_dependency "rspec-expectations", "~> 3.5.0"
-BuildRequires:  %{rubygem rspec-expectations:3.5}
-# s.add_development_dependency "rspec-mocks", "~> 3.5.0"
-BuildRequires:  %{rubygem rspec-mocks:3.5}
+# s.add_development_dependency "rspec-core", ">= 3.5"
+BuildRequires:  %{rubygem rspec-core >= 3.5}
+# s.add_development_dependency "rspec-expectations", ">= 3.5"
+BuildRequires:  %{rubygem rspec-expectations >= 3.5}
+# s.add_development_dependency "rspec-mocks", ">= 3.5"
+BuildRequires:  %{rubygem rspec-mocks >= 3.5}
 # s.add_development_dependency 'rake'
 BuildRequires:  %{rubygem rake}
 
@@ -99,6 +109,10 @@
 %gem_unpack
 # remove dropped or unneeded dependencies
 sed -i '/simplecov/d' %{mod_full_name}.gemspec
+
+# this is essentially 
https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1330
+# FIXME: drop this on the next upstream release
+sed -i 's/\["~> 3.5.0"\]/\[">= 3.5"\]/' %{mod_full_name}.gemspec
 %autopatch -p1
 
 %build

++++++ 0001-Remove-simplecov-from-tests.patch ++++++
--- /var/tmp/diff_new_pack.ll0Zvm/_old  2021-08-12 10:46:44.826140180 +0200
+++ /var/tmp/diff_new_pack.ll0Zvm/_new  2021-08-12 10:46:44.826140180 +0200
@@ -1,4 +1,4 @@
-From 3bec15c3944a465c463f117f2cdeb505b82f0882 Mon Sep 17 00:00:00 2001
+From 31556255dc146457cfc72e85ca03e0b0bcbf52b0 Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= <dcer...@suse.com>
 Date: Thu, 1 Apr 2021 15:25:35 +0200
 Subject: [PATCH] Remove simplecov from tests
@@ -8,7 +8,7 @@
  1 file changed, 29 deletions(-)
 
 diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
-index 58e7d98..4706e48 100644
+index e688eb9..eb271cc 100644
 --- a/spec/spec_helper.rb
 +++ b/spec/spec_helper.rb
 @@ -1,32 +1,3 @@
@@ -45,5 +45,5 @@
  require 'support/environment_helper'
  require 'vagrant-spec/unit'
 -- 
-2.30.2
+2.31.1
 

Reply via email to