[DRE-commits] [ruby-liquid] 01/03: add patch to not use relative path in require to fix autopkgtest suite
Cédric Boutillier
boutil at moszumanska.debian.org
Tue Oct 14 21:18:38 UTC 2014
This is an automated email from the git hooks/post-receive script.
boutil pushed a commit to annotated tag debian/2.6.1-2
in repository ruby-liquid.
commit 9e6b390ffd053855feb1af4db39c984ff57596a9
Author: Cédric Boutillier <boutil at debian.org>
Date: Tue Oct 14 23:14:23 2014 +0200
add patch to not use relative path in require to fix autopkgtest suite
---
debian/patches/no_relative_path_in_require.patch | 18 ++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 19 insertions(+)
diff --git a/debian/patches/no_relative_path_in_require.patch b/debian/patches/no_relative_path_in_require.patch
new file mode 100644
index 0000000..e21a79c
--- /dev/null
+++ b/debian/patches/no_relative_path_in_require.patch
@@ -0,0 +1,18 @@
+Description: use LOAD_PATH to find the 'liquid' library
+ instead of using a relative path.
+ This should fix autopkgtest-pkg-ruby test suite
+Author: Cédric Boutillier <boutil at debian.org>
+Forwarded: no
+Last-Update: 2014-10-14
+
+--- a/test/test_helper.rb
++++ b/test/test_helper.rb
+@@ -7,7 +7,7 @@
+ rescue LoadError
+ puts "Couldn't load ruby-debug. gem install ruby-debug if you need it."
+ end
+-require File.join(File.dirname(__FILE__), '..', 'lib', 'liquid')
++require 'liquid'
+
+
+ module Test
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..3766f60
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+no_relative_path_in_require.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-liquid.git
More information about the Pkg-ruby-extras-commits
mailing list