[DRE-commits] [SCM] ruby-cutest.git branch, master, updated. upstream/1.1.2-7-g6d8d505

parimbra parimbra at redhat.com
Sun Aug 28 10:21:31 UTC 2011


The following commit has been merged in the master branch:
commit b8c6b6b7c046445d20d6547604c9794ff5053172
Author: parimbra <parimbra at redhat.com>
Date:   Sun Aug 28 15:46:50 2011 +0530

    patch bin/cutest to remove hard coded lib path

diff --git a/debian/patches/remove-hard-coded-lib-path.patch b/debian/patches/remove-hard-coded-lib-path.patch
new file mode 100644
index 0000000..2e14d98
--- /dev/null
+++ b/debian/patches/remove-hard-coded-lib-path.patch
@@ -0,0 +1,18 @@
+Description: make binary work when cutest.rb is not in ../lib
+ debian installs libraries to /usr/lib/ruby/vendor_ruby as per debian policy. 
+ /usr/bin/cutest was not able to find cutest.rb file with current code.
+ .
+ Fix suggested by Lucas Nussbaum.
+Forwarded: https://github.com/djanowski/cutest/pull/2
+Author: Praveen Arimbrathodiyil <pravi.a at gmail.com>
+Last-Update: 2011-08-22
+
+--- a/bin/cutest
++++ b/bin/cutest
+@@ -1,4 +1,5 @@
+-require File.expand_path("../lib/cutest", File.dirname(__FILE__))
++$:.unshift File.join(File.dirname(__FILE__), '..', 'lib')
++require 'cutest'
+ 
+ if ARGV.empty?
+   puts "usage: cutest [-r lib] [-v] file ..."
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..a5ed56e
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+remove-hard-coded-lib-path.patch

-- 
ruby-cutest.git



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