[DRE-commits] [chef] 01/03: allow usage with ruby-net-ssh 3.0

Antonio Terceiro terceiro at moszumanska.debian.org
Thu Jan 28 12:31:52 UTC 2016


This is an automated email from the git hooks/post-receive script.

terceiro pushed a commit to branch master
in repository chef.

commit 88e4725b4db0d37e663fa5fd4ef519657a9bb6c2
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Thu Jan 28 10:08:52 2016 -0200

    allow usage with ruby-net-ssh 3.0
    
    Closes: #812912
---
 debian/changelog                                   |  2 ++
 .../0002-Relax-dependency-on-ruby-net-ssh.patch    | 30 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 3 files changed, 33 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 045eca7..78a43c0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ chef (12.3.0-3) UNRELEASED; urgency=medium
 
   * debian/tests/control: add `allow-stderr` to "init" test.
   * debian/control: add dependency on lsb-release
+  * 0002-Relax-dependency-on-ruby-net-ssh.patch: allow usage with ruby-net-ssh
+    3.0 (Closes: #812912)
 
  -- Antonio Terceiro <terceiro at debian.org>  Wed, 09 Sep 2015 13:23:30 -0300
 
diff --git a/debian/patches/0002-Relax-dependency-on-ruby-net-ssh.patch b/debian/patches/0002-Relax-dependency-on-ruby-net-ssh.patch
new file mode 100644
index 0000000..69b027b
--- /dev/null
+++ b/debian/patches/0002-Relax-dependency-on-ruby-net-ssh.patch
@@ -0,0 +1,30 @@
+From: Antonio Terceiro <terceiro at debian.org>
+Date: Thu, 28 Jan 2016 10:07:37 -0200
+Subject: Relax dependency on ruby-net-ssh
+
+Reading the CHANGES file there it does not seem we will have a problem
+---
+ metadata.yml | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/metadata.yml b/metadata.yml
+index 596169c..c379c89 100644
+--- a/metadata.yml
++++ b/metadata.yml
+@@ -124,14 +124,14 @@ dependencies:
+   name: net-ssh
+   requirement: !ruby/object:Gem::Requirement
+     requirements:
+-    - - "~>"
++    - - ">="
+       - !ruby/object:Gem::Version
+         version: '2.6'
+   type: :runtime
+   prerelease: false
+   version_requirements: !ruby/object:Gem::Requirement
+     requirements:
+-    - - "~>"
++    - - ">="
+       - !ruby/object:Gem::Version
+         version: '2.6'
+ - !ruby/object:Gem::Dependency
diff --git a/debian/patches/series b/debian/patches/series
index faa4f47..3e9af53 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 0001-metadata.yml-remove-rspec-junit-formatter.patch
+0002-Relax-dependency-on-ruby-net-ssh.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/chef.git



More information about the Pkg-ruby-extras-commits mailing list