From 02da9a41762d58f3c6dc881e69034589c59232f9 Mon Sep 17 00:00:00 2001 From: Funda Wang Date: Thu, 15 Aug 2013 12:24:43 +0000 Subject: compat with rubygem 2.0 --- NEWS | 3 +++ configure.ac | 2 +- gem_helper.rb | 2 +- 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") -- cgit v1.2.1