[DRE-commits] [trocla] 02/04: Add patch to disable ruby gems

Michael Weiser michaelweiser-guest at moszumanska.debian.org
Tue Feb 17 09:49:56 UTC 2015


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

michaelweiser-guest pushed a commit to branch master
in repository trocla.

commit c133dc1df548c3cebfe2f7e8989fc6474107b132
Author: Michael Weiser <michael.weiser at gmx.de>
Date:   Tue Feb 17 09:55:06 2015 +0100

    Add patch to disable ruby gems
---
 debian/patches/0002-disable-rubygems.patch | 15 +++++++++++++++
 debian/patches/series                      |  1 +
 2 files changed, 16 insertions(+)

diff --git a/debian/patches/0002-disable-rubygems.patch b/debian/patches/0002-disable-rubygems.patch
new file mode 100644
index 0000000..526e463
--- /dev/null
+++ b/debian/patches/0002-disable-rubygems.patch
@@ -0,0 +1,15 @@
+Disable the use of ruby gems.
+
+diff --git a/Rakefile b/Rakefile
+index 9b1114b..eb9570e 100644
+--- a/Rakefile
++++ b/Rakefile
+@@ -42,7 +42,7 @@ end
+ 
+ task :default => :spec
+ 
+-gem 'rdoc'
++require 'rdoc'
+ require 'rdoc/task'
+ RDoc::Task.new do |rdoc|
+   version = Trocla::VERSION::STRING
diff --git a/debian/patches/series b/debian/patches/series
index 5214ce1..de0fd5f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 0001-testsuite.patch
+0002-disable-rubygems.patch

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



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