[DRE-commits] [ruby-celluloid] 02/03: add patch to fix paths
Cédric Boutillier
boutil at alioth.debian.org
Mon Nov 4 19:49:22 UTC 2013
This is an automated email from the git hooks/post-receive script.
boutil pushed a commit to branch master
in repository ruby-celluloid.
commit ea5ab05aab8b17d832e5b05e05ad43a9a8ecd8ba
Author: Cédric Boutillier <boutil at debian.org>
Date: Mon Nov 4 19:45:34 2013 +0100
add patch to fix paths
---
debian/patches/fix_relative_path_rspec.patch | 21 +++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 22 insertions(+)
diff --git a/debian/patches/fix_relative_path_rspec.patch b/debian/patches/fix_relative_path_rspec.patch
new file mode 100644
index 0000000..8a3d2f6
--- /dev/null
+++ b/debian/patches/fix_relative_path_rspec.patch
@@ -0,0 +1,21 @@
+Description: install files in spec/support in $vendorlib/celluloid/support
+ fixing the corresponding paths in requires
+Author: Cédric Boutillier <boutil at debian.org>
+Last-Update: 2013-11-04
+
+--- a/lib/celluloid/rspec.rb
++++ b/lib/celluloid/rspec.rb
+@@ -1,8 +1,8 @@
+-require File.expand_path('../../../spec/support/example_actor_class', __FILE__)
+-require File.expand_path('../../../spec/support/actor_examples', __FILE__)
+-require File.expand_path('../../../spec/support/mailbox_examples', __FILE__)
++require 'celluloid/support/example_actor_class'
++require 'celluloid/support/actor_examples'
++require 'celluloid/support/mailbox_examples'
+
+ module Celluloid
+ # Timer accuracy enforced by the tests (50ms)
+ TIMER_QUANTUM = 0.05
+-end
+\ No newline at end of file
++end
diff --git a/debian/patches/series b/debian/patches/series
index 2a3943c..8368cf8 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
remove-rubygems-bundler-coveralls.patch
+fix_relative_path_rspec.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-celluloid.git
More information about the Pkg-ruby-extras-commits
mailing list