[DRE-commits] [ruby-coercible] 01/03: move lib/support inside the coercible subdirectory

Cédric Boutillier boutil at moszumanska.debian.org
Fri Feb 28 21:00:12 UTC 2014


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

boutil pushed a commit to branch master
in repository ruby-coercible.

commit 58993370cb6fb322ef900c16bb080af6df582757
Author: Cédric Boutillier <boutil at debian.org>
Date:   Fri Feb 28 17:17:02 2014 +0100

    move lib/support inside the coercible subdirectory
---
 .../move_support_inside_coercible_subdir.patch        | 19 +++++++++++++++++++
 debian/patches/series                                 |  1 +
 debian/rules                                          |  9 +++++++++
 3 files changed, 29 insertions(+)

diff --git a/debian/patches/move_support_inside_coercible_subdir.patch b/debian/patches/move_support_inside_coercible_subdir.patch
new file mode 100644
index 0000000..8337d78
--- /dev/null
+++ b/debian/patches/move_support_inside_coercible_subdir.patch
@@ -0,0 +1,19 @@
+Description: change require path for files in support/
+ since this directory has been moved inside the coercible subdirectory
+Bug: https://github.com/solnic/coercible/issues/14
+Author: Cédric Boutil <boutil at debian.org>
+Last-Update: 2014-02-28
+
+--- a/lib/coercible.rb
++++ b/lib/coercible.rb
+@@ -24,8 +24,8 @@
+ require 'set'
+ 
+ require 'descendants_tracker'
+-require 'support/options'
+-require 'support/type_lookup'
++require 'coercible/support/options'
++require 'coercible/support/type_lookup'
+ 
+ require 'coercible/version'
+ require 'coercible/configuration'
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..9792401
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+move_support_inside_coercible_subdir.patch
diff --git a/debian/rules b/debian/rules
index 82ddc0c..d5baf24 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,3 +13,12 @@
 
 %:
 	dh $@ --buildsystem=ruby --with ruby
+
+override_dh_auto_install:
+	cp -R lib/support lib/coercible/
+	dh_auto_install
+
+
+override_dh_clean:
+	dh_clean
+	rm -rf lib/coercible/support

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



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