diff --git a/ruby-3.3.patch b/ruby-3.3.patch new file mode 100644 index 0000000..68d2b58 --- /dev/null +++ b/ruby-3.3.patch @@ -0,0 +1,84 @@ +diff -Pdpru vagrant-2.3.7.orig/.github/workflows/go-spectest-skipped.yml vagrant-2.3.7/.github/workflows/go-spectest-skipped.yml +--- vagrant-2.3.7.orig/.github/workflows/go-spectest-skipped.yml 2023-06-15 23:40:35.000000000 +0300 ++++ vagrant-2.3.7/.github/workflows/go-spectest-skipped.yml 2024-01-19 02:27:59.974880099 +0300 +@@ -15,7 +15,7 @@ jobs: + runs-on: ubuntu-latest + strategy: + matrix: +- ruby: ['3.0', '3.1', '3.2'] ++ ruby: ['3.0', '3.1', '3.2', '3.3'] + name: Vagrant acceptance tests (Ruby ${{ matrix.ruby }}) + steps: + - name: Stubbed for skip +diff -Pdpru vagrant-2.3.7.orig/.github/workflows/go-spectest.yml vagrant-2.3.7/.github/workflows/go-spectest.yml +--- vagrant-2.3.7.orig/.github/workflows/go-spectest.yml 2023-06-15 23:40:35.000000000 +0300 ++++ vagrant-2.3.7/.github/workflows/go-spectest.yml 2024-01-19 02:28:23.911891525 +0300 +@@ -19,7 +19,7 @@ jobs: + runs-on: ubuntu-latest + strategy: + matrix: +- ruby: ['3.0', '3.1', '3.2'] ++ ruby: ['3.0', '3.1', '3.2', '3.3'] + name: Vagrant acceptance tests (Ruby ${{ matrix.ruby }}) + steps: + - name: Code Checkout +diff -Pdpru vagrant-2.3.7.orig/.github/workflows/go-testing-skipped.yml vagrant-2.3.7/.github/workflows/go-testing-skipped.yml +--- vagrant-2.3.7.orig/.github/workflows/go-testing-skipped.yml 2023-06-15 23:40:35.000000000 +0300 ++++ vagrant-2.3.7/.github/workflows/go-testing-skipped.yml 2024-01-19 02:28:43.102167235 +0300 +@@ -14,7 +14,7 @@ jobs: + runs-on: ubuntu-latest + strategy: + matrix: +- ruby: ['3.0', '3.1', '3.2'] ++ ruby: ['3.0', '3.1', '3.2', '3.3'] + name: Vagrant unit tests on Go (Ruby ${{ matrix.ruby }}) + steps: + - name: Stubbed for skip +diff -Pdpru vagrant-2.3.7.orig/.github/workflows/go-testing.yml vagrant-2.3.7/.github/workflows/go-testing.yml +--- vagrant-2.3.7.orig/.github/workflows/go-testing.yml 2023-06-15 23:40:35.000000000 +0300 ++++ vagrant-2.3.7/.github/workflows/go-testing.yml 2024-01-19 02:29:05.385820685 +0300 +@@ -26,7 +26,7 @@ jobs: + runs-on: ubuntu-latest + strategy: + matrix: +- ruby: ['3.0', '3.1', '3.2'] ++ ruby: ['3.0', '3.1', '3.2', '3.3'] + name: Vagrant unit tests on Go (Ruby ${{ matrix.ruby }}) + steps: + - name: Code Checkout +diff -Pdpru vagrant-2.3.7.orig/.github/workflows/testing-skipped.yml vagrant-2.3.7/.github/workflows/testing-skipped.yml +--- vagrant-2.3.7.orig/.github/workflows/testing-skipped.yml 2023-06-15 23:40:35.000000000 +0300 ++++ vagrant-2.3.7/.github/workflows/testing-skipped.yml 2024-01-19 02:31:50.474858960 +0300 +@@ -19,7 +19,7 @@ jobs: + continue-on-error: true + strategy: + matrix: +- ruby: [ '3.0', '3.1', '3.2' ] ++ ruby: [ '3.0', '3.1', '3.2', '3.3' ] + name: Vagrant unit tests on Ruby ${{ matrix.ruby }} + steps: + - name: Stubbed for skip +diff -Pdpru vagrant-2.3.7.orig/.github/workflows/testing.yml vagrant-2.3.7/.github/workflows/testing.yml +--- vagrant-2.3.7.orig/.github/workflows/testing.yml 2023-06-15 23:40:35.000000000 +0300 ++++ vagrant-2.3.7/.github/workflows/testing.yml 2024-01-19 02:32:17.978587414 +0300 +@@ -32,7 +32,7 @@ jobs: + continue-on-error: true + strategy: + matrix: +- ruby: [ '3.0', '3.1', '3.2' ] ++ ruby: [ '3.0', '3.1', '3.2', '3.3' ] + name: Vagrant unit tests on Ruby ${{ matrix.ruby }} + steps: + - name: Code Checkout +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-19 02:33:37.299726955 +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.4" + s.required_rubygems_version = ">= 1.3.6" + + s.add_dependency "bcrypt_pbkdf", "~> 1.1" diff --git a/ruby-dependency.patch b/ruby-dependency.patch deleted file mode 100644 index 4c5a94b..0000000 --- a/ruby-dependency.patch +++ /dev/null @@ -1,12 +0,0 @@ -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 5324a13..6f64625 100644 --- a/vagrant.changes +++ b/vagrant.changes @@ -1,7 +1,7 @@ ------------------------------------------------------------------- -Thu Jan 18 17:01:43 UTC 2024 - Илья Индиго +Thu Jan 18 23:38:54 UTC 2024 - Илья Индиго -- Added file ruby-dependency.patch for relaxed ruby requirement (boo#1218951). +- Added file ruby-3.3.patch for ruby 3.3 support (boo#1218951). ------------------------------------------------------------------- Thu Dec 21 10:17:42 UTC 2023 - Илья Индиго diff --git a/vagrant.spec b/vagrant.spec index 3b5ae95..8328a32 100644 --- a/vagrant.spec +++ b/vagrant.spec @@ -47,7 +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 +Patch0: ruby-3.3.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