Package: ruby-mkrf / 0.2.3+dfsg-5

0150_update_rakefile.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
Description: comment all obsolete commands in Rakefile
 Fixes FTBFS with newer rake
Author: C├ędric Boutillier <boutil@debian.org>
Origin: vendor
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=713149
Last-Update: 2013-06-23


--- a/Rakefile
+++ b/Rakefile
@@ -1,8 +1,8 @@
 require 'rake'
 require 'rake/testtask'
 require 'rake/packagetask'
-require 'rake/gempackagetask'
-require 'rake/rdoctask'
+#require 'rake/gempackagetask'
+#require 'rake/rdoctask'
 #require 'rubygems'
 
 
@@ -91,10 +91,10 @@
 
 end
 
-Rake::RDocTask.new do |rd|
-  rd.main = "README"
-  rd.rdoc_files.include("README", "lib/**/*.rb")
-end
+#Rake::RDocTask.new do |rd|
+#  rd.main = "README"
+#  rd.rdoc_files.include("README", "lib/**/*.rb")
+#end
   
 # Create compressed packages
 spec = Gem::Specification.new do |s|
@@ -122,8 +122,8 @@
   s.files = s.files + Dir.glob( "test/**/*" ).delete_if { |item| item.include?( "\.svn" ) }
 end
   
-Rake::GemPackageTask.new(spec) do |p|
-  p.gem_spec = spec
-  p.need_tar = true
-  p.need_zip = true
-end
+#Rake::GemPackageTask.new(spec) do |p|
+#  p.gem_spec = spec
+#  p.need_tar = true
+#  p.need_zip = true
+#end