[DRE-commits] [ruby-faraday] 06/08: use system libs in autopkgtest

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Wed Jul 26 19:06:34 UTC 2017


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

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

commit 408c8f85e8a444645876db2548bf7c5d9cc32949
Author: Pirate Praveen <praveen at debian.org>
Date:   Thu Jul 27 00:22:14 2017 +0530

    use system libs in autopkgtest
---
 debian/patches/series               |  1 +
 debian/patches/use-system-lib.patch | 13 +++++++++++++
 2 files changed, 14 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
index 62920f5..dded868 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@ remove-simplecov-coveralls.patch
 001_remove-bundler.patch
 003_gemspec-no-git.patch
 disable-tests-localhost-port4.patch
+use-system-lib.patch
diff --git a/debian/patches/use-system-lib.patch b/debian/patches/use-system-lib.patch
new file mode 100644
index 0000000..b3e94ef
--- /dev/null
+++ b/debian/patches/use-system-lib.patch
@@ -0,0 +1,13 @@
+autopkgtest should not use relative paths
+
+--- a/test/helper.rb
++++ b/test/helper.rb
+@@ -1,7 +1,7 @@
+ gem 'minitest' if defined? Bundler
+ require 'minitest/autorun'
+ 
+-require File.expand_path('../../lib/faraday', __FILE__)
++require 'faraday'
+ 
+ require 'stringio'
+ require 'uri'

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



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