aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@gmail.com>2013-09-20 10:42:22 +0000
committerPascal Terjan <pterjan@gmail.com>2013-09-20 10:42:22 +0000
commit4cddaab45e4687453be733d48e0a6d46efacce69 (patch)
tree63fb3e1464d59f6b9e1199e14efa2f9911b9dcbc
parentc96ff3eb28970ac780f2d6445a808f03f5c7748c (diff)
downloadrpm-setup-1.183.tar
rpm-setup-1.183.tar.gz
rpm-setup-1.183.tar.bz2
rpm-setup-1.183.tar.xz
rpm-setup-1.183.zip
Fix dependency generation when ruby_version is empty1.183
-rw-r--r--NEWS2
-rw-r--r--configure.ac2
-rwxr-xr-xrubygems.rb2
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"