[rubygems] Kill creating unneeded LOCAL_RPMS\ = directory under

Mamoru Tasaka mtasaka at fedoraproject.org
Sat Mar 2 18:21:34 UTC 2013


commit 79c4f4cabdeea332b74afd8e505afeb0d92d7577
Author: Mamoru TASAKA <mtasaka at fedoraproject.org>
Date:   Sun Mar 3 03:21:15 2013 +0900

    Kill creating unneeded LOCAL_RPMS\ = directory under
    
      %gem_libdir when building native extension

 rubygems-2.0.0-binary-extensions.patch |   30 ------------------------------
 rubygems.spec                          |    6 +++++-
 2 files changed, 5 insertions(+), 31 deletions(-)
---
diff --git a/rubygems-2.0.0-binary-extensions.patch b/rubygems-2.0.0-binary-extensions.patch
index d826472..91b570e 100644
--- a/rubygems-2.0.0-binary-extensions.patch
+++ b/rubygems-2.0.0-binary-extensions.patch
@@ -317,36 +317,6 @@ index f1f2ad7..e1577fc 100644
 1.8.1.2
 
 
-From 4d9675cab5decaef3c9f7f91b2f9c9abd2a19cea Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?V=C3=ADt=20Ondruch?= <vondruch at redhat.com>
-Date: Fri, 15 Feb 2013 16:24:29 +0100
-Subject: [PATCH 8/9] mkmf does not create folder for binary extensions
- anymore.
-
-This was dropped in Ruby r37016 for some reasons :/
----
- lib/rubygems/ext/builder.rb | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/lib/rubygems/ext/builder.rb b/lib/rubygems/ext/builder.rb
-index d7d953f..812c20c 100644
---- a/lib/rubygems/ext/builder.rb
-+++ b/lib/rubygems/ext/builder.rb
-@@ -21,6 +21,10 @@ class Gem::Ext::Builder
-     mf = mf.gsub(/^RUBYLIBDIR\s*=\s*\$[^$]*/, "RUBYLIBDIR = #{dest_path}")
-     mf = mf.gsub(/\s*\S+\.time$/, "")
- 
-+    # Folder creation was dropped in r37016 for some reasons :/
-+    target_prefix = mf[/^target_prefix\s*=\s*(.*)/, 1]
-+    FileUtils.mkdir_p File.join(dest_path, target_prefix) rescue nil # in case of perms issues -- lame
-+
-     File.open('Makefile', 'wb') {|f| f.print mf}
- 
-     # try to find make program from Ruby configure arguments first
--- 
-1.8.1.2
-
-
 From 062a11c59731f5875d5a8821a212c8a41cb84577 Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?V=C3=ADt=20Ondruch?= <vondruch at redhat.com>
 Date: Fri, 15 Feb 2013 17:07:07 +0100
diff --git a/rubygems.spec b/rubygems.spec
index 06706b8..215ef61 100644
--- a/rubygems.spec
+++ b/rubygems.spec
@@ -26,7 +26,7 @@ Summary:	The Ruby standard for packaging ruby libraries
 Name:		rubygems
 Version:	2.0.0
 # Bump release for now
-Release:	104%{?dist}
+Release:	105%{?dist}
 Group:		Development/Libraries
 License:	Ruby or MIT
 
@@ -258,6 +258,10 @@ testrb test || testrb test -x test_gem_installer.rb
 
 
 %changelog
+* Sun Mar  3 2013 Mamoru TASAKA <mtasaka at fedoraproject.org> - 2.0.0-105
+- Kill creating unneeded LOCAL_RPMS\ = directory under
+  %%gem_libdir when building native extension
+
 * Wed Feb 27 2013 Mamoru TASAKA <mtasaka at fedoraproject.org> - 2.0.0-104
 - Kill %%gem_extdir
 


More information about the scm-commits mailing list