Package: rbot / 0.9.15+post20100705+gitb3aa806-2

buildsys_no_rubygems 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
Index: rbot-0.9.15+post20100705+gitb3aa806/Rakefile
===================================================================
--- rbot-0.9.15+post20100705+gitb3aa806.orig/Rakefile	2010-07-05 11:56:33.000000000 +0200
+++ rbot-0.9.15+post20100705+gitb3aa806/Rakefile	2010-07-11 13:05:06.000000000 +0200
@@ -1,5 +1,4 @@
 require 'rake'
-require 'rake/gempackagetask'
 
 task :default => [:buildext]
 
@@ -9,18 +8,6 @@
 
 task :manpages => ['man/rbot.1', 'man/rbot-remote.1']
 
-SPECFILE = 'rbot.gemspec'
-# The Rakefile is also used after installing the gem, to build
-# the .mo files. Since in this case the SPECFILE is not available,
-# we must (and can) skip defining the gem packaging tasks.
-if File.exist? SPECFILE
-  spec = eval(File.read(SPECFILE), nil, SPECFILE)
-  Rake::GemPackageTask.new(spec) do |pkg|
-    pkg.need_zip = true
-    pkg.need_tar = true
-  end
-end
-
 # normalize a po/pot file
 def normalize_po(fn)
   content = File.read(fn)