aboutsummaryrefslogtreecommitdiffstats
path: root/gem_helper.rb
diff options
context:
space:
mode:
authorFunda Wang <fwang@mageia.org>2013-08-15 12:24:43 +0000
committerFunda Wang <fwang@mageia.org>2013-08-15 12:24:43 +0000
commit02da9a41762d58f3c6dc881e69034589c59232f9 (patch)
tree8b02493971e11b3bbb4b4d5b8c8d35d8f66b5cf9 /gem_helper.rb
parentad6ddb5604375515ce3fac11a2018c99b671957f (diff)
downloadrpm-setup-02da9a41762d58f3c6dc881e69034589c59232f9.tar
rpm-setup-02da9a41762d58f3c6dc881e69034589c59232f9.tar.gz
rpm-setup-02da9a41762d58f3c6dc881e69034589c59232f9.tar.bz2
rpm-setup-02da9a41762d58f3c6dc881e69034589c59232f9.tar.xz
rpm-setup-02da9a41762d58f3c6dc881e69034589c59232f9.zip
compat with rubygem 2.01.177
Diffstat (limited to 'gem_helper.rb')
-rwxr-xr-xgem_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/gem_helper.rb b/gem_helper.rb
index 86dfced..cfaeb69 100755
--- a/gem_helper.rb
+++ b/gem_helper.rb
@@ -162,7 +162,7 @@ if ARGV[0] == "build" or ARGV[0] == "install"
spec = Gem::Specification.from_yaml(YAML.dump(header))
unless dry_run
- Gem::Builder.new(spec).build
+ Gem::Package::build(spec).build
else
files.concat(spec.files)
print "%s\n" % files.join("\n")