[DRE-commits] [ruby-em-mongo] 02/04: fix VERSION path

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Tue Apr 22 07:11:59 UTC 2014


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

praveen pushed a commit to branch master
in repository ruby-em-mongo.

commit ade4fb240f4208eb58ce3a9dc29e0dcaf0f72304
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Tue Apr 22 12:37:42 2014 +0530

    fix VERSION path
---
 debian/patches/fix-VERSION.patch | 11 +++++++++++
 debian/patches/series            |  1 +
 debian/ruby-em-mongo.install     |  1 +
 3 files changed, 13 insertions(+)

diff --git a/debian/patches/fix-VERSION.patch b/debian/patches/fix-VERSION.patch
new file mode 100644
index 0000000..c70ad8b
--- /dev/null
+++ b/debian/patches/fix-VERSION.patch
@@ -0,0 +1,11 @@
+--- a/lib/em-mongo.rb
++++ b/lib/em-mongo.rb
+@@ -8,7 +8,7 @@
+ module EM::Mongo
+ 
+   module Version
+-    STRING = File.read(File.dirname(__FILE__) + '/../VERSION')
++    STRING = File.read(File.dirname(__FILE__) + '/em-mongo/VERSION')
+     MAJOR, MINOR, TINY = STRING.split('.')
+   end
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..3c2dd00
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix-VERSION.patch
diff --git a/debian/ruby-em-mongo.install b/debian/ruby-em-mongo.install
new file mode 100644
index 0000000..bceb4f8
--- /dev/null
+++ b/debian/ruby-em-mongo.install
@@ -0,0 +1 @@
+VERSION usr/lib/ruby/vendor_ruby/em-mongo

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



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