[DRE-commits] [ruby-rspec-core] 03/04: fix location of rspec binary in autotest integration.
Antonio Terceiro
terceiro at moszumanska.debian.org
Thu Mar 5 23:47:49 UTC 2015
This is an automated email from the git hooks/post-receive script.
terceiro pushed a commit to branch master
in repository ruby-rspec-core.
commit ff0b9f358c1bf4a0a6e1c178e81db50030785d91
Author: Antonio Terceiro <terceiro at debian.org>
Date: Tue Mar 3 23:19:15 2015 -0300
fix location of rspec binary in autotest integration.
---
debian/changelog | 2 ++
debian/patches/fix_rspec_binary_location.patch | 11 +++++++++++
debian/patches/series | 1 +
3 files changed, 14 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index d2ee184..3c969f1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,8 @@ ruby-rspec-core (2.14.7-2) experimental; urgency=medium
.
This fixes autotest integration, which is quite handy while you are
writing code.
+ * debian/patches/fix_rspec_binary_location.patch: fix location of rspec
+ binary in autotest integration.
-- Antonio Terceiro <terceiro at debian.org> Tue, 03 Mar 2015 23:10:32 -0300
diff --git a/debian/patches/fix_rspec_binary_location.patch b/debian/patches/fix_rspec_binary_location.patch
new file mode 100644
index 0000000..83b114e
--- /dev/null
+++ b/debian/patches/fix_rspec_binary_location.patch
@@ -0,0 +1,11 @@
+--- a/lib/autotest/rspec2.rb
++++ b/lib/autotest/rspec2.rb
+@@ -7,7 +7,7 @@ require 'rspec/core/deprecation'
+ # @note this will be extracted to a separate gem when we release rspec-3.
+ class Autotest::Rspec2 < Autotest
+
+- RSPEC_EXECUTABLE = File.expand_path('../../../exe/rspec', __FILE__)
++ RSPEC_EXECUTABLE = '/usr/bin/rspec'
+
+ def initialize
+ super()
diff --git a/debian/patches/series b/debian/patches/series
index d154bf8..faf0ad5 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@ remove-aruba-stuff-in-tests.patch
fix-commandline-test.patch
ruby_test_bin.patch
fix_first_caller_from_outside_rspec.patch
+fix_rspec_binary_location.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-rspec-core.git
More information about the Pkg-ruby-extras-commits
mailing list