[DRE-commits] [ruby-riemann-client] 01/01: Replace require-rubygems.overrides with a patch

Tim Potter tpot-guest at moszumanska.debian.org
Fri Oct 17 06:36:59 UTC 2014


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

tpot-guest pushed a commit to branch master
in repository ruby-riemann-client.

commit cb8ba73a71e64fd382234d88b1af85091f7eafb3
Author: Tim Potter <tpot at hp.com>
Date:   Fri Oct 17 17:36:36 2014 +1100

    Replace require-rubygems.overrides with a patch
---
 debian/patches/remove-rubygems-dep.patch | 20 ++++++++++++++++++++
 debian/patches/series                    |  1 +
 debian/require-rubygems.overrides        |  1 -
 3 files changed, 21 insertions(+), 1 deletion(-)

diff --git a/debian/patches/remove-rubygems-dep.patch b/debian/patches/remove-rubygems-dep.patch
new file mode 100644
index 0000000..b48e483
--- /dev/null
+++ b/debian/patches/remove-rubygems-dep.patch
@@ -0,0 +1,20 @@
+Description: remove rubygems include
+ This patch removes the rubygems requirement for this library, as
+ per the Debian policy.
+Author: Tim Potter <tpot at hp.com>
+Forwarded: no
+Last-Update: 2014-10-17
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: ruby-riemann-client/lib/riemann.rb
+===================================================================
+--- ruby-riemann-client.orig/lib/riemann.rb
++++ ruby-riemann-client/lib/riemann.rb
+@@ -1,7 +1,4 @@
+ module Riemann
+-  $LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__))
+-
+-  require 'rubygems'
+   require 'beefcake'
+   require 'timeout'
+   require 'riemann/version'
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..f2533e4
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+remove-rubygems-dep.patch
diff --git a/debian/require-rubygems.overrides b/debian/require-rubygems.overrides
deleted file mode 100644
index 468e03d..0000000
--- a/debian/require-rubygems.overrides
+++ /dev/null
@@ -1 +0,0 @@
-debian/ruby-riemann-client/usr/lib/ruby/vendor_ruby/riemann.rb

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



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