[DRE-commits] [ruby-rspec] 01/01: fix path to rspec binary in rake task. Closes: #782161
Antonio Terceiro
terceiro at moszumanska.debian.org
Thu Apr 9 11:03:20 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.
commit d565bc858512928a7debcf6af65d6315fcda9795
Author: Antonio Terceiro <terceiro at debian.org>
Date: Thu Apr 9 12:59:59 2015 +0200
fix path to rspec binary in rake task. Closes: #782161
---
debian/changelog | 8 ++++++++
debian/patches/fix-rake-task.patch | 18 ++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 27 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 892df85..897a7ad 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+ruby-rspec (3.2.0c2e0m1s2-2.1) UNRELEASED; urgency=medium
+
+ * Team upload.
+ * debian/patches/fix-rake-task.patch: fix path to rspec binary in rake
+ task. Closes: #782161
+
+ -- Antonio Terceiro <terceiro at debian.org> Thu, 09 Apr 2015 12:59:12 +0200
+
ruby-rspec (3.2.0c2e0m1s2-2) experimental; urgency=medium
Team upload.
diff --git a/debian/patches/fix-rake-task.patch b/debian/patches/fix-rake-task.patch
new file mode 100644
index 0000000..3bf1af3
--- /dev/null
+++ b/debian/patches/fix-rake-task.patch
@@ -0,0 +1,18 @@
+Description: Fix patch to rspec binary
+ On Debian rspec is always on /usr/bin
+Author: Antonio Terceiro <terceiro at debian.org>
+Origin: vendor
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=782161
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/rspec-core/lib/rspec/core/rake_task.rb
++++ b/rspec-core/lib/rspec/core/rake_task.rb
+@@ -11,7 +11,7 @@ module RSpec
+ include ::Rake::DSL if defined?(::Rake::DSL)
+
+ # Default path to the RSpec executable.
+- DEFAULT_RSPEC_PATH = File.expand_path('../../../../exe/rspec', __FILE__)
++ DEFAULT_RSPEC_PATH = '/usr/bin/rspec'
+
+ # Default pattern for spec files.
+ DEFAULT_PATTERN = 'spec/**{,/*/**}/*_spec.rb'
diff --git a/debian/patches/series b/debian/patches/series
index a44d720..d271614 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -8,3 +8,4 @@ caller_filter_spec_for_debian.patch
fix_encoding.patch
#no-aruba.patch
disable_no_warning_spec_rspec-support.patch
+fix-rake-task.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-rspec.git
More information about the Pkg-ruby-extras-commits
mailing list