From 4cddaab45e4687453be733d48e0a6d46efacce69 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Fri, 20 Sep 2013 10:42:22 +0000 Subject: Fix dependency generation when ruby_version is empty --- NEWS | 2 ++ configure.ac | 2 +- rubygems.rb | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index 946d19b..9625672 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,6 @@ +Version 1.183 - 20 Sep 2013, by Pascal Terjan - Handle another git ls-files syntax in gem_setup +- Fix dependency generation when ruby_version is empty Version 1.182 - 10 Sep 2013, by Pascal Terjan - Fix install of gems with several .so diff --git a/configure.ac b/configure.ac index 6faa03e..49252d8 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.182, pterjan@mageia.org) +AC_INIT(rpm-mageia-setup, 1.183, pterjan@mageia.org) AC_CANONICAL_TARGET AM_INIT_AUTOMAKE(1.9 -Wno-portability no-dist-gzip dist-xz) AC_CONFIG_SRCDIR diff --git a/rubygems.rb b/rubygems.rb index 5368b26..d851945 100755 --- a/rubygems.rb +++ b/rubygems.rb @@ -62,7 +62,7 @@ end if requires or abi_provide abidep = "ruby(abi)" - if ruby_versioned + if ruby_versioned and RbConfig::CONFIG["ruby_version"] != "" abidep += " = %s" % RbConfig::CONFIG["ruby_version"] end print abidep + "\n" -- cgit v1.2.1