[DRE-commits] [ohai] 09/12: Remove a Windows-only dependency

Antonio Terceiro terceiro at moszumanska.debian.org
Sat Jun 13 18:36:40 UTC 2015


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

terceiro pushed a commit to branch master
in repository ohai.

commit 78daa4b57a7563298c0b9775fe7399da3b10d1bb
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Sat Jun 13 13:43:08 2015 -0300

    Remove a Windows-only dependency
---
 debian/changelog                                   |  2 ++
 .../patches/0001-Drop-dependency-on-wmi-lite.patch | 34 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 3 files changed, 37 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 8be96a9..bdc11c0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ ohai (8.4.0-1) UNRELEASED; urgency=medium
   * New upstream release
   * Drop all patches, not needed anymore
   * Update packaging with a new dh-make-ruby run
+  * Add 0001-Drop-dependency-on-wmi-lite.patch to remove a Windows-only
+    dependency
 
  -- Antonio Terceiro <terceiro at debian.org>  Sat, 13 Jun 2015 12:27:47 -0300
 
diff --git a/debian/patches/0001-Drop-dependency-on-wmi-lite.patch b/debian/patches/0001-Drop-dependency-on-wmi-lite.patch
new file mode 100644
index 0000000..d2100c3
--- /dev/null
+++ b/debian/patches/0001-Drop-dependency-on-wmi-lite.patch
@@ -0,0 +1,34 @@
+From: Antonio Terceiro <terceiro at debian.org>
+Date: Sat, 13 Jun 2015 13:41:36 -0300
+Subject: Drop dependency on wmi-lite
+
+wmi-lite is a Windows thing, so we definitely do not need it.
+---
+ metadata.yml | 14 --------------
+ 1 file changed, 14 deletions(-)
+
+diff --git a/metadata.yml b/metadata.yml
+index 7271728..e4e92e6 100644
+--- a/metadata.yml
++++ b/metadata.yml
+@@ -129,20 +129,6 @@ dependencies:
+       - !ruby/object:Gem::Version
+         version: '0'
+ - !ruby/object:Gem::Dependency
+-  name: wmi-lite
+-  requirement: !ruby/object:Gem::Requirement
+-    requirements:
+-    - - "~>"
+-      - !ruby/object:Gem::Version
+-        version: '1.0'
+-  type: :runtime
+-  prerelease: false
+-  version_requirements: !ruby/object:Gem::Requirement
+-    requirements:
+-    - - "~>"
+-      - !ruby/object:Gem::Version
+-        version: '1.0'
+-- !ruby/object:Gem::Dependency
+   name: ffi
+   requirement: !ruby/object:Gem::Requirement
+     requirements:
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..ff6f644
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Drop-dependency-on-wmi-lite.patch

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



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