diff --git a/ruby-dependency.patch b/ruby-dependency.patch new file mode 100644 index 0000000..4c5a94b --- /dev/null +++ b/ruby-dependency.patch @@ -0,0 +1,12 @@ +diff -Pdpru vagrant-2.3.7.orig/vagrant.gemspec vagrant-2.3.7/vagrant.gemspec +--- vagrant-2.3.7.orig/vagrant.gemspec 2023-06-15 23:40:35.000000000 +0300 ++++ vagrant-2.3.7/vagrant.gemspec 2024-01-18 19:38:47.090039506 +0300 +@@ -12,7 +12,7 @@ Gem::Specification.new do |s| + s.summary = "Build and distribute virtualized development environments." + s.description = "Vagrant is a tool for building and distributing virtualized development environments." + +- s.required_ruby_version = ">= 3.0", "< 3.3" ++ s.required_ruby_version = ">= 3.0", "<= 3.3" + s.required_rubygems_version = ">= 1.3.6" + + s.add_dependency "bcrypt_pbkdf", "~> 1.1" diff --git a/vagrant.changes b/vagrant.changes index 2d331d7..5324a13 100644 --- a/vagrant.changes +++ b/vagrant.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jan 18 17:01:43 UTC 2024 - Илья Индиго + +- Added file ruby-dependency.patch for relaxed ruby requirement (boo#1218951). + ------------------------------------------------------------------- Thu Dec 21 10:17:42 UTC 2023 - Илья Индиго diff --git a/vagrant.spec b/vagrant.spec index 700e9e0..3b5ae95 100644 --- a/vagrant.spec +++ b/vagrant.spec @@ -1,7 +1,7 @@ # # spec file for package vagrant # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # Copyright (c) 2012 Laurent Bigonville , License GPL-2.0+ # # All modifications and additions to the file contributed by third parties @@ -47,6 +47,7 @@ Recommends: vagrant-libvirt # https://github.com/dcermak/vagrant.git repository. # On every new release of vagrant, rebase them on top of the latest tag. # +Patch0: ruby-dependency.patch Patch1: 0001-bin-vagrant-silence-warning-about-installer.patch Patch2: 0002-Use-a-private-temporary-dir.patch Patch3: 0003-plugins-don-t-abuse-require_relative.patch.patch