aboutsummaryrefslogtreecommitdiffstats
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
parentad6ddb5604375515ce3fac11a2018c99b671957f (diff)
compat with rubygem 2.01.177
-rw-r--r--NEWS3
-rw-r--r--configure.ac2
-rwxr-xr-xgem_helper.rb2
3 files changed, 5 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 8845aed..b17ea80 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+Version 1.177 - 15 Aug 2013, by Funda Wang
+- gem_helper.rb: deal with rubygems 2.0 changes
+
- gi-find-deps.sh: don't add pythong-gi requires automatically as we can't be sure if the code was written for python3 (again from SUSE)
Version 1.176 - 31 July 2013, by Jani Välimaa
diff --git a/configure.ac b/configure.ac
index 3e2384d..c4b4f0e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4,7 +4,7 @@
# $Id: configure.ac 271266 2010-11-04 10:43:28Z fwang $
AC_PREREQ(2.59)
-AC_INIT(rpm-mageia-setup, 1.176, dmorgan@mageia.org)
+AC_INIT(rpm-mageia-setup, 1.177, dmorgan@mageia.org)
AC_CANONICAL_TARGET
AM_INIT_AUTOMAKE(1.9 -Wno-portability no-dist-gzip dist-xz)
AC_CONFIG_SRCDIR
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")